[FIXED] htaccess changes not reflecting on OpenLiteSpeed
Facing issue with OpenLiteSpeed Web Server with .htaccess changes? Any changes or new htaccess rules added not reflecting on website or web application.
This is one of the limitations of OpenLiteSpeed web server over the Enterprise website. OLS does not read or integrates the .htaccess changes done on the website. To make it read the webserver requires are restart using root user. This can be done by following simple steps.
- Log in to the root user of the OLS installed server.
- Run the following command to restart OpenLiteSpeed Browser.
systemctl restart lsws
- Check if OLS is running properly without any issues.
systemctl status lsws
- After restarting OLS the changes done in .htaccess files in any website will start reflecting. However, this has to be done after every change in the .htaccess file. If you don’t want to restart the webserver manually then you should consider upgrading to LiteSpeed Enterprise. Reach out us at [email protected] for LiteSpeed Enterprise Upgrade.