changing apache root directory

erim

Registered
Hi all,

This question has kind of been asked here before, but I've tried the solutions suggested, and it's not working. Maybe this is slightly different.

I have my hard drive partitioned in two, a partition for the os, and one for everything else. I want to set the Apache DocumentRoot to a directory on the larger partition, since there's more room there.

I've got my Users directory on the larger partition as well, with a symbolic link from the OS partition. Since I got a 403 error trying to access localhost/~user, I figured I'd change the DocumentRoot in httpd.conf, like so:

DocumentRoot "/Volumes/myvolume/webroot"

I still get a 403. I've tried "chmod 755 /Volumes/myvolume/webroot" as suggested here somewhere, but I still get a 403.

I'm sure it's obvious I'm no unix/apache expert, so if anyone can help me out, if would be most appreciated.

Also, please let me know if there are any potential problems with this approach, i.e. running PHP, mySql, et.

Thanks in advance.

-erim
 
Back
Top