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:

  1. xampp access forbidden php
  2. new xampp security concept: access forbidden error 403 - windows 7 - phpmyadmin

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

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -