Vue loop binding event listener only binds with the first few elements.

I faced a problem when I had to attach an event listener to many elements rendered through the loop. When rendered, the click event was only attached to the first element and all the other elements didn’t have the listener attached. So, I solved this by passing an additional argument to the listener which was … Read moreVue loop binding event listener only binds with the first few elements.

Categories Vue

Easiest Way to Use OpenLiteSpeed Server as Reverse Proxy Server

I had a simple dotnet core application, and I wanted it to be hosted on a linux machine with litespeed as reverse proxy. So, if you also want that then follow the given steps: You need to have a virtual host setup using WebAdmin panel with follow symbolic link off. (It’s easy through webadmin panel … Read moreEasiest Way to Use OpenLiteSpeed Server as Reverse Proxy Server

WordPress OpenLitespeed Server 404 on any Link (pages, posts)

As I have been trying to move to litespeed server from apache, I have faced an issue with subroutes i.e. pages and posts. WordPress uses .htaccess for URL rewriting, but OpenLitespeed is not a drop-in replacement for Apache web server (yeah I know, it’s drop-in replacement for enterprise edition). So, after I tried updating .htaccess … Read moreWordPress OpenLitespeed Server 404 on any Link (pages, posts)

OpenLiteSpeed Server vHost cofiguration using terminal (With Let’s Encrypt SSL)

You can configure your virtual host using WebAdmin. But if you prefer, the terminal way, then follow the following steps. The virtual host configuration is mainly kept in directory: In the above directory you can see a file named: ‘httpd_config.conf’. Which is the main configuration file for the litespeed server. Every virtual configuration file has … Read moreOpenLiteSpeed Server vHost cofiguration using terminal (With Let’s Encrypt SSL)

Install aria2 1.35.0 on CentOS 8

I have created a rpm with latest source of aria2. This rpm is built for centos 8 and may not work on other versions of CentOS. You can download the latest rpm from link below: https://dl.dropboxusercontent.com/s/cxzijq4dwaxxg4o/aria2-1.35.0-0.x86_64_centos8.rpm If you have CentOS 7 then please visit: Install on CentOS 7 To install use the following command: The … Read moreInstall aria2 1.35.0 on CentOS 8