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上托管网站? –