I have asked the same question to stackoverflow but then I thought it might be more related to here.
in apache's httpd.conf between VirtualHost
tags I put <LimitExcept>
expression like follows:
<VirtualHost *:80>
ServerName geopreprod.xxx.com.tr
<LimitExcept HEAD POST GET>
Deny from all
</LimitExcept>
ProxyRequests Off
ProxyPreserveHost On
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass / http://XXXXXXXX...
ProxyPassReverse / http://XXXXXXXX....
</VirtualHost>
and then apache web server fails to start by giving following error:
Syntax error on line 513 of XXXXX/httpd.conf:
deny not allowed here
Although it says <LimitExcept>
can be used in VirtualHost
tag in offical docs why do I get this error?
in apache docs it says:
Context: server config, virtual host, directory, .htaccess