{"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"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v15.2.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Apache Errors with Litespeed - OWS KB<\/title>\n<meta name=\"description\" content=\"You might receive an error as below, when adding a domain. Apache detected an error in the Rewrite config.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ownwebservers.com\/kb\/apache-errors-with-litespeed\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Apache Errors with Litespeed - OWS KB\" \/>\n<meta property=\"og:description\" content=\"You might receive an error as below, when adding a domain. Apache detected an error in the Rewrite config.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ownwebservers.com\/kb\/apache-errors-with-litespeed\/\" \/>\n<meta property=\"og:site_name\" content=\"OWS KB\" \/>\n<meta property=\"article:published_time\" content=\"2021-10-12T12:13:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-10-12T13:15:58+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\">\n\t<meta name=\"twitter:data1\" content=\"admin\">\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data2\" content=\"1 minute\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#website\",\"url\":\"https:\/\/ownwebservers.com\/kb\/\",\"name\":\"OWS KB\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/ownwebservers.com\/kb\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/apache-errors-with-litespeed\/#webpage\",\"url\":\"https:\/\/ownwebservers.com\/kb\/apache-errors-with-litespeed\/\",\"name\":\"Apache Errors with Litespeed - OWS KB\",\"isPartOf\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/#website\"},\"datePublished\":\"2021-10-12T12:13:49+00:00\",\"dateModified\":\"2021-10-12T13:15:58+00:00\",\"author\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/#\/schema\/person\/4a40fe3fe17a08ddd1d7c113668e75f2\"},\"description\":\"You might receive an error as below, when adding a domain. Apache detected an error in the Rewrite config.\",\"breadcrumb\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/apache-errors-with-litespeed\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ownwebservers.com\/kb\/apache-errors-with-litespeed\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/apache-errors-with-litespeed\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/\",\"url\":\"https:\/\/ownwebservers.com\/kb\/\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/apache-errors-with-litespeed\/\",\"url\":\"https:\/\/ownwebservers.com\/kb\/apache-errors-with-litespeed\/\",\"name\":\"Apache Errors with Litespeed\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#\/schema\/person\/4a40fe3fe17a08ddd1d7c113668e75f2\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ba5db5841d48bd7517bb2583e13983e6d2fa56a4099a0b3c61ad2daefc321303?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/ownwebservers.com\/kb\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","_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}]}}