osx - access forbidden xampp in mac php -
there error infomation:
access forbidden! don't have permission access requested directory. there either no index document or directory read-protected. if think server error, please contact 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 i have setting httpd.conf file follw:
alias /myspace "/volumes/myspace/workspace/phpworkspace" <directory "/volumes/myspace/workspace/phpworkspace"> options indexes followsymlinks multiviews allowoverride order deny,allow allow #require granted </directory> "/volumes/myspace/workspace/phpworkspace" place location of code. have tried many methods:
the order directive should allow first, deny.
set allow all , don't set deny.
change directory directive , should work
<directory "/volumes/myspace/workspace/phpworkspace"> options indexes followsymlinks multiviews allowoverride order allow,deny allow #require granted </directory>
Comments
Post a Comment