2
<Location>と<Directory> Apacheディレクティブの違い
Zend Serverをインストールしましたが、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とDirectoryの違いを理解できないようです。私は次のようなものに変更しましたが、それは私にとってより理にかなっていますが、それでも動作します: <Location /ZendServer> AllowOverride All Order Allow,Deny Allow from 127.0.0.1 </Location> Alias /ZendServer "C:\Program Files\Zend\ZendServer\GUI\html" 変更を保持できますか、または元の状態に戻す必要がありますか?