When adding a domain OR while restarting the web hosting services, you might receive an error as below.
Apache detected an error in the Rewrite config.
/usr/local/apache/bin/httpd: line 18: /usr/local/lsws/logs/ap_cmd_param.log:
Permission denied
/usr/local/apache/bin/httpd: line 20: ulimit: virtual memory: cannot modify
limit: Operation not permitted
Syntax error on line 1 of
/home/user/public_html/.htaccess.Uz9opqQ89V5Tjl1FwHhvlIjVtuVBbFGH:
Invalid command ‘CacheDisable’, perhaps misspelled or defined by a module
not included in the server configuration
You receive this error because the permissions on the log file is incorrect OR the .htaccess file has a incorrect rules which conflicts with litespeed.
Set permissions on the log file so that it can be modified/written easily.
# chmod 755 /usr/local/lsws/logs/ap_cmd_param.log
Modify the .htaccess under the account and remove the conflicting rules OR modify them.
Litespeed is a web server which works with apache & boosts your server performance. Mostly recommended for websites with huge traffic. It is a paid software & you can install it on our dedicated servers.