Bypass Symfony Forbidden issue with "Web" folder in Mac OS

Thu, 08/01/2013 - 22:47 -- meladawy

When i was installing Symfony in my PC with Mac OS X, i found that "Web" folder is hidden and can't be accessed from browser (I Got 403 forbidden issue). I checked all the permissions and every thing was very nice ! finally got this issue resolved by the following steps

1- Open the terminal and go to "/etc/apache2/users/"

cd /etc/apache2/users/

2- Edit Username.conf file

sudo nano Username.conf

3- Replace the

<Directory "/Users/Username/Sites/">
Options Indexes MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>

with

<Directory "/Users/Username/Sites/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Allow from all
</Directory>

Good Luck !

Add new comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.