扫一扫
分享文章到微信
扫一扫
关注官方公众号
至顶头条
apache 怎们配置虚拟目录?
在httpd.conf里面添加
...
DocumentRoot "F:/temp/test"
...
<Directory "F:/temp/test">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
重启apache,浏览器访问 http://localhost 报错
Forbidden
You don't have permission to access / on this server.
<Directory />
Options indexes FollowSymLinks
AllowOverride None
Order deny,allow
allow from all
Satisfy all
</Directory>
如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。