XAMPP的Windows 1.8.2 PHP 5.4, 操作系統:Windows XP設置虛擬主機的XAMPP在Windows
我使用的用戶名和passowrd上XAMPP
C:\ WINDOWS \ SYSTEM32 \ DRIVERS \等\主機 127.0.0.1 hindustans.local 127.0.0.1 read.local
E:\我的項目\ wesites \讀 的index.html
的httpd-vhosts.conf
<Directory "E:/My Projects/wesites/read">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs"
ServerName localhost
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "E:/My Projects/wesites/read"
ServerName read
Options +Indexes
</VirtualHost>
read.local用C正常工作:\ XAMPP \ htdocs中 但 read.local不與評估工作:\我的項目\ wesites \讀\ index.html在
我想簡要運行基於E我的項目:\我的項目\ wesites \讀
你能訪問你的文件夾嗎?你有權這樣做嗎?你有索引文件嗎?另外,你爲什麼要在Windows XP上託管網站? –