{"id":2956,"date":"2021-10-12T12:13:49","date_gmt":"2021-10-12T12:13:49","guid":{"rendered":"https:\/\/ownwebservers.com\/kb\/?p=2956"},"modified":"2021-10-12T13:15:58","modified_gmt":"2021-10-12T13:15:58","slug":"apache-errors-with-litespeed","status":"publish","type":"post","link":"https:\/\/ownwebservers.com\/kb\/apache-errors-with-litespeed\/","title":{"rendered":"Apache Errors with Litespeed"},"content":{"rendered":"<p>You might receive an error as below, when adding a domain OR while restarting the web hosting services.<\/p>\n<p><strong>Apache detected an error in the Rewrite config.<\/strong><\/p>\n<p><strong>\/usr\/local\/apache\/bin\/httpd: line 18: \/usr\/local\/lsws\/logs\/ap_cmd_param.log:<br \/>\nPermission denied<\/strong><\/p>\n<p><strong>\/usr\/local\/apache\/bin\/httpd: line 20: ulimit: virtual memory: cannot modify<br \/>\nlimit: Operation not permitted<\/strong><\/p>\n<p>Syntax error on line 1 of<br \/>\n<strong>\/home\/user\/public_html\/.htaccess.Uz9opqQ89V5Tjl1FwHhvlIjVtuVBbFGH:<\/strong><\/p>\n<p><strong>Invalid command \u2018CacheDisable\u2019, perhaps misspelled or defined by a module<br \/>\nnot included in the server configuration<\/strong><\/p>\n<p>Due to the permissions on the log file is incorrect you may receive this error OR because of the .htaccess file has a incorrect rules its conflicts with litespeed.<\/p>\n<p>Set permissions on the log file due to which it can be modified\/written easily.<\/p>\n<p># chmod 755 \/usr\/local\/lsws\/logs\/ap_cmd_param.log<\/p>\n<p>Under the account modify the .htaccess and remove the conflicting rules OR modify them.<\/p>\n<p>Litespeed is well konown for a web server which works with apache &amp; boosts your server performance. Mostly suggested for web sites with huge traffic. it&#8217;s a paid software system &amp; you&#8217;ll install it on our dedicated servers.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You might receive an error as below, when adding a domain OR while restarting the web hosting services. 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 \u2018CacheDisable\u2019, perhaps [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-2956","post","type-post","status-publish","format-standard","hentry","category-dedicated-server"],"_links":{"self":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/2956","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/comments?post=2956"}],"version-history":[{"count":1,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/2956\/revisions"}],"predecessor-version":[{"id":2957,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/2956\/revisions\/2957"}],"wp:attachment":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/media?parent=2956"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/categories?post=2956"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/tags?post=2956"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}