AllowOverride All error
Hello
I went to the Apache Configuration -> Include Editor -> Pre virtual host include and selected all versions
I added AllowOverride All In the textbox and hit update:
Sorry, your changes have introduced a syntax error in pre_virtualhost_global.conf. Please correct the issue.
Error:
Configuration problem detected on line 1 of file /usr/local/apache/conf/includes/pre_virtualhost_global.conf.tmp: AllowOverride not allowed here --- /usr/local/apache/conf/includes/pre_virtualhost_global.conf.tmp --- 1 ===> AllowOverride All <=== --- /usr/local/apache/conf/includes/pre_virtualhost_global.conf.tmp ---
I don't understand why is it throwing an error
-
Hello, Can you please update here following command output so that we can check what is the wrong with your pre_virtualhost_global.conf file. cat /usr/local/apache/conf/includes/pre_virtualhost_global.conf0 -
Hello :) You should not have to manually add that value, as the default value in the /usr/local/apache/conf/httpd.conf file is: AllowOverride All Options ExecCGI FollowSymLinks IncludesNOEXEC Indexes SymLinksIfOwnerMatch
The options are configurable via "WHM Home " Service Configuration " Apache Configuration " Global Configuration". Thank you.0
Please sign in to leave a comment.
Comments
2 comments