<Location>和<Directory> Apache指令之间的区别
我已经安装了Zend服务器,并注意到以下内容已添加到我的httpd.conf文件中: <Location /ZendServer> Order Allow,Deny Allow from 127.0.0.1 </Location> Alias /ZendServer "C:\Program Files\Zend\ZendServer\GUI\html" <Directory "C:\Program Files\Zend\ZendServer\GUI\html"> AllowOverride All </Directory> 但我似乎无法理解位置和目录之间的区别。 我改变了下面的东西,这对我来说更有意义,它仍然有效: <Location /ZendServer> AllowOverride All Order Allow,Deny Allow from 127.0.0.1 </Location> Alias /ZendServer "C:\Program Files\Zend\ZendServer\GUI\html" 我可以保留自己的修改吗?还是应该按照原来的方式进行修改?