在apache的httpd.conf之间VirtualHost
个标签我把<LimitExcept>
表达式如下所示:
<VirtualHost *:80>
ServerName geopreprod.avea.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>
然后apache web服务器无法启动,发出以下错误:
Syntax error on line 513 of XXXXX/httpd.conf:
deny not allowed here
虽然<LimitExcept>
可以在offical docs中的VirtualHost
标记中使用Context: server config, virtual host, directory, .htaccess
,但为什么会出现此错误?
在apache文档中说:
{{1}}