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

关于apache多端口配备

WBOY
Release: 2016-06-13 13:17:00
Original
838 people have browsed it

关于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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template