If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Welcome to Mac-Forums! Join us to comment and to customize your site experience! Members have access to different forum appearance options, and many more functions.

I enabled filevault on my macbook, and all's been well (minus the fact I just ordered a G-Tech G-Drive because my macbook's 80 HD requires 120GB to backup now.) Except, I do a lot of work with php, and kept all my scripts in /localhost/~davidsword/, but now I'm getting the error

Forbidden
You don't have permission to access /~davidsword/ on this server.

I would just run out of /localhost/ but its not index'ed with spotlight which is a must.

I tried adding some virtual hosts but couldn't get any of them to display anything other than /localhost/..

I'm experiencing the same problem on my mac after upgrading from tiger to leopard. On tiger, I was able to access the localhost files in the ~name/Sites/ directory just fine. Now with the new OSX installed, I keep getting the "Forbidden You don't have permission to access..." I don't understand this denied access. How can I not have access with the Admin account? Am I missing something here?

Grrr. I found the same problem. I am trying to teach myself php, and am so new, this is frustrating.
I did notice however that files I place into the Library>Webserver>Documents seem to load just fine.
What gives?

#
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
#
# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
#
User yourusername
Group yourusergroup

newbie question please. In Linux, user and group are stored in /etc/passwd and /etc/group respectively. However, I can't find my name in passwd and can't seem to find my name against any group in 'group'.

Where do I find that info on a MAC pls? (OS X 10.5.5)

I guess I should include the fact that I ask this in this thread, because I also have a filevault userdir and am attempting to get my webserver working.

#
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
#
# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
#
User yourusername
Group yourusergroup

...I sure hope this helps, it definitely worked for me.

I'm not sure if the following method is any safer but it worked for me and I haven't altered any system files.

Get Info on your home folder. In the "Ownership and..." pane, click the lock and authenticate if necessary. Give "everyone" "read-only" access. Leave the 'Ignore ownership...' box unchecked.

I have FileVault on. I assume it should work with FV off. Good Luck : ^ })