XAMPP for Windows 1.8.2 PHP 5.4,操作系统:Windows XP
我正在使用XAMPP的用户名和密码
c:\windows\system32\drivers\etc\hosts 127.0.0.1 hindustans.local 127.0.0.1 read.local
E:\My Projects\wesites\read 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在E:\My Projects\wesites\read\index.html下无法工作。
简而言之,我希望能够从E:\My Projects\wesites\read运行我的项目。