0
因此,我在Windows上安装了WAMP以运行Apache和PHP,并且我需要创建转到网络共享\\ 10.0.0.177 \ FMS Studios \ Websites的虚拟主机。当我去到域时,我得到了一个403错误。这是我在我的httpd-vhosts.conf文件:如何使用网络共享创建虚拟主机?
<VirtualHost *:80>
ServerName tree.fmsds.xyz
DocumentRoot "\\10.0.0.177\FMS Studios\Websites"
<Directory "\\10.0.0.177\FMS Studios\Websites">
AllowOverride All
Require all granted
Order deny,allow
</Directory>
</VirtualHost>
,它甚至没有登记在WAMP的服务器管理器中的虚拟主机..
WAMP does not see my virtualhost.
删除'订单否认,允许'多数民众赞成在Apache 2.2语法,并不能与'需要所有授予'这是Apache 2.4语法 – RiggsFolly
仍然403错误。 – Flyingmcsquid