apache - Symfony config.php 403 error -


i've installed symfony2 on computer run on mountain lion. when try access localhost works pretty : when type http://localhost/~myusername/sites i've got expected result.

however, when type http://localhost/~myusername/sites/symfony/web/config.php, i've got 403 error. checked permissions of file symfony nothing's wrong here.

someone has idea how deal please ?

  1. check apache running user/group (/etc/apache2/httpd.conf).

    user myusername group staff 
  2. check userconfig correct (/etc/apache2/users/myusername.conf). should like:

    <directory "/users/myusername/sites/">     options indexes multiviews followsymlinks     allowoverride     order allow,deny     allow </directory> 

after should able acces page http://localhost/~myusername/symfony/web/config.php

sidenote; maybe need proper php installation, check http://php-osx.liip.ch therefor


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -