Home
Sign Up
Sign In
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member
Sign In
V2EX
›
MacBook Pro
Mac 10.7上配置Apache的目录,想指定到自定义目录一直不成功什么原因?
jimmy
·
Aug 8, 2012
· 3115 views
This topic created in 5019 days ago, the information mentioned may be changed or developed.
开启Web Share之后只修改了两处:
httpd.conf里开启了php5支持,Vhost支持。
然后在extra/httpd-vhost.conf里添加了两个虚拟站点,使用sudo apachectl -t检查没问题,但是运行的时候却报403,不知道什么原因造成的,要怎么解决?
PS: 使用系统自带的路径访问却是正常的……
httpd
conf
开启
1 replies
•
1970-01-01 08:00:00 +08:00
1
twm
Aug 9, 2012
#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "/xxx/xxx">
改为
<Directory />
试试
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
1181 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 28ms ·
UTC 17:43
·
PVG 01:43
·
LAX 10:43
·
JFK 13:43
♥ Do have faith in what you're doing.
❯