Home  >  Article  >  Backend Development  >  关于apache多端口配备

关于apache多端口配备

WBOY
WBOYOriginal
2016-06-13 10:45:11752browse

关于apache多端口配置
我已经按照网上查找的配置多端口的资料进行apache配置,虽然可以启动,但是加上端口访问报403
以下是我的配置
Listen 8888
Listen 9999

NameVirtualhost localhost:8888  
NameVirtualhost localhost:9999  

   
  documentroot D:/xx/cc
  servername locahost:8888  
 
 
   
  documentroot D:/xx/bb
  servername localhost:9999  
 


大家帮忙看看,我是不是哪里配置不对

------解决方案--------------------
你是Apache2.2.x吗?如果是的话就加上

Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all


Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn