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