Hey. Typically web sharing (found in the Sharing section of system prefs) allows other computers to access your "/Users/[username]/Sites/" directory. However I have MAMP installed so my local sites have to exist in the "/Applications/MAMP/htdocs" directory. Is there anyway to make the web sharing directory point to this one instead?
I found this:
http://support.apple.com/kb/TA25038
And I tried changing the path in my [username].conf file to:
<Directory "/Applications/MAMP/htdocs">
And I did this command in terminal (anyone knows what this is doing btw? is it just locking the privileges on this file?):
sudo chown root:wheel /etc/apache2/users/[username].conf
But when I try to go to my site http://[ipaddress]/~[username]/ i can't access anything. I get a 404 page cant be found error.
Any suggestions? Thanks!
I found this:
http://support.apple.com/kb/TA25038
And I tried changing the path in my [username].conf file to:
<Directory "/Applications/MAMP/htdocs">
And I did this command in terminal (anyone knows what this is doing btw? is it just locking the privileges on this file?):
sudo chown root:wheel /etc/apache2/users/[username].conf
But when I try to go to my site http://[ipaddress]/~[username]/ i can't access anything. I get a 404 page cant be found error.
Any suggestions? Thanks!