【发布时间】:2015-09-26 01:08:29
【问题描述】:
有错误信息:
Access forbidden!
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.
If you think this is a server error, please contact the webmaster.
Error 403
localhost
Apache/2.4.12 (Unix) OpenSSL/1.0.1m PHP/5.6.8 mod_perl/2.0.8-dev Perl/v5.16.3
我已将 httpd.conf 文件设置为如下:
Alias /myspace "/volumes/myspace/workspace/phpworkspace"
<Directory "/volumes/myspace/workspace/phpworkspace">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Allow from all
#Require all granted
</Directory>
"/volumes/myspace/workspace/phpworkspace" 这个地方是我的代码位置。我尝试了很多方法:
【问题讨论】:
-
“httpd.conf”文件在哪里?