I'm migrating all my stuff from Snow Leopard to Mountain Lion.
I have a new MBP with a fresh install of Mountain Lion and I'm trying to set up my localhost development server as it was under SL.
I've got Apache and PHP working as recommended here. But I'm getting strange permission problems.
Certain folders are giving 403 Forbidden errors when I try to view them in a browser. I noticed the owner of these folders was set to 'root' so I did a chown command to move it to my own username, and also chmod 755 on everything. It still didn't work. I tried chmod 777 on the entire folder structure and I still get the 403 errors. However, if I create a sibling folder, and place an HTML file in there, it displays fine.
~/Sites/clientabc/site/
is shown as
and
~/Sites/clientabc/test/
is shown as
But anything in 'test' is viewable, but nothing in 'site' is viewable.
Is it possible that I have 2 different usernames that appear the same (both are 'benhayes') but in the underlying OS they are treated as different accounts?
I have a new MBP with a fresh install of Mountain Lion and I'm trying to set up my localhost development server as it was under SL.
I've got Apache and PHP working as recommended here. But I'm getting strange permission problems.
Certain folders are giving 403 Forbidden errors when I try to view them in a browser. I noticed the owner of these folders was set to 'root' so I did a chown command to move it to my own username, and also chmod 755 on everything. It still didn't work. I tried chmod 777 on the entire folder structure and I still get the 403 errors. However, if I create a sibling folder, and place an HTML file in there, it displays fine.
~/Sites/clientabc/site/
is shown as
Code:
drwxr-xr-x 25 benhayes staff 850 12 Oct 2010 site
and
~/Sites/clientabc/test/
is shown as
Code:
drwxr-xr-x 3 benhayes staff 102 14 Aug 11:40 test
But anything in 'test' is viewable, but nothing in 'site' is viewable.
Is it possible that I have 2 different usernames that appear the same (both are 'benhayes') but in the underlying OS they are treated as different accounts?