0
這裏有XAMPP問題。我在本地運行開發環境和測試服務器。 DHCP/DNS /測試。存在於同一臺服務器上,並使用dev進行請求。路由到我的本地機器。問題:每當我請求dev。* url時,它都會正確地路由到本地機器,但是/ xampp /會被附加到url,並且我將獲得xampp的默認登錄頁面。Xampp vhost不斷追加/ xampp/
***vhost example***
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "C:\Domains\com.example"
<Directory "C:\Domains\com.example">
Require all granted
</Directory>
ServerName dev.example.com ***2 server names so i dont modify when i commit to server
ServerName test.example.com
ErrorLog "logs/dummy-host.example.com-error.log"
CustomLog "logs/dummy-host.example.com-access.log" common
</VirtualHost>
反正,不知道究竟在何處我的問題在於......人有什麼建議?