Knowledge Base
MilesWeb / Dedicated Server FAQ

Apache Errors with Litespeed

Approx. read time : 2 min

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

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.

With over 10+ years of experience in the web hosting industry, I have achieved extensive exposure to result-oriented methodologies. And expertise in different domains like Datacentre Services, Cloud computing technology, Web hosting industry and many more.