moon_2007
2015-01-20 11:32
localhost:8080能访问,但改回去80就提示
Forbidden
You don't have permission to access /textceshi.php on this server.
<VirtualHost *:80>
ServerName 访问域名 如:www.baidu.com
DocumentRoot "访问文件路径 如:D:/wamp/www/blog/"
<Directory "访问文件路径 如:D:/wamp/www/blog/">
Options FollowSymLinks IncludesNOEXEC
DirectoryIndex index.htm index.html default.htm index.php default.php index.cgi default.cgi index.pl default.pl index.shtml
AllowOverride All
Order Deny,Allow
Allow from all
</Directory>
</VirtualHost>
Order deny,allow
Deny from all
Satisfy all
Apache配置加上以上语句就可以了.!
PHP入门篇
455957 学习 · 6306 问题
相似问题