#AllowOverride All AllowOverride NONE # Controls who can get stuff from this server. # Order allow,deny Allow from all </Directory><VirtualHost *:80> ServerAdmin [email protected] DocumentRoot D:/web/phpcms ServerName phpcms.com ErrorLog D:/error/phpcms_error.log CustomLog logs/dummy-host2.appservnetwork.com-access_log common </VirtualHost>下面这个是默认路径,(现在已经不起作用了) <Directory "d:/AppServ/www"> Options Indexes FollowSymLinks MultiViews ExecCGI AllowOverride All Order allow,deny Allow from all</Directory>
我也觉得是,lz看看如果是wamp有没有put online如果是iis,www站点设置是否正确
我的环境是 wamp
虚拟路径是这样配置的
<Directory "D:/web/phpcms">
#Options Indexes FollowSymLinks MultiViews ExecCGI
Options Indexes FollowSymLinks
#AllowOverride All
AllowOverride NONE # Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
</Directory><VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot D:/web/phpcms
ServerName phpcms.com
ErrorLog D:/error/phpcms_error.log
CustomLog logs/dummy-host2.appservnetwork.com-access_log common
</VirtualHost>下面这个是默认路径,(现在已经不起作用了)
<Directory "d:/AppServ/www"> Options Indexes FollowSymLinks MultiViews ExecCGI AllowOverride All Order allow,deny
Allow from all</Directory>