关于apache多端口配置
我已经按照网上查找的配置多端口的资料进行apache配置,虽然可以启动,但是加上端口访问报403
以下是我的配置
Listen 8888
Listen 9999
NameVirtualhost localhost:8888
NameVirtualhost localhost:9999
<virtualhost localhost:8888>
documentroot D:/xx/cc
servername locahost:8888
</virtualhost>
<virtualhost localhost:9999>
documentroot D:/xx/bb
servername localhost:9999
</virtualhost>
大家帮忙看看,我是不是哪里配置不对
------解决方案--------------------
你是Apache2.2.x吗?如果是的话就加上
<Directory "D:/xx/cc">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Directory "D:/xx/bb">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>