Knowledge Base Hub

Browse through our helpful how-to guides to get the fastest solutions to your technical issues.

Home  >  Dedicated Server FAQ  >  Apache Errors with Litespeed
Top Scroll

Apache Errors with Litespeed

 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
/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.

For our Knowledge Base visitors only
Get 10% OFF on Hosting
Special Offer!
30
MINS
59
SECS
Claim the discount before it’s too late. Use the coupon code:
STORYSAVER
Note: Copy the coupon code and apply it on checkout.