apache down when using options in httpd.conf
Hello every body ...
Am getting frequently hacked by symlink and cgi-shells nowadays
and Iam using apache 2.0.64 and PHP 5.2.17 and ( works fine for me as my users cant stand php 5.3 yet )
the problem is that before few months I was able to stop symlink and cgi-shells by using this in pre_virtualhost_global.conf
but now I can't use the same code As it do not accept "Options="
how to solve that ? and if not possible how to downgrade apache to the last version accept "Options="
Options -ExecCGI Includes -Indexes -FollowSymLinks +IncludesNOEXEC -MultiViews +SymLinksIfOwnerMatch
AllowOverride AuthConfig Indexes Limit FileInfo Options=IncludesNOEXEC,-Indexes,Includes,-MultiViews,SymLinksIfOwnerMatch,-FollowSymLinks
Order allow,deny
Allow from all
Options -ExecCGI Includes -Indexes -FollowSymLinks +IncludesNOEXEC -MultiViews +SymLinksIfOwnerMatch
AllowOverride AuthConfig Indexes Limit FileInfo Options=IncludesNOEXEC,-Indexes,Includes,-MultiViews,SymLinksIfOwnerMatch,-FollowSymLinks
Order allow,deny
Allow from all
but now I can't use the same code As it do not accept "Options="
Syntax error on line 19 of /usr/local/apache/conf/includes/pre_virtualhost_global.conf:
Illegal override option Options=IncludesNOEXEChow to solve that ? and if not possible how to downgrade apache to the last version accept "Options="
-
Remove Options=IncludesNOEXEC From AllowOverride 0 -
simonas did you read my post for real? 0 -
I want to activate Options in AllowOverride 0 -
Hello :) I noticed you opened a support ticket for this issue. It was determined the best way to resolve this issue was to upgrade your version of Apache to version 2.2 or 2.4. Thank you. 0
Please sign in to leave a comment.
Comments
4 comments