DocumentRoot in my Documents folder

S

screenmates

Guest
Hello,

Trying to figure out a way to point the httpd document-root to my Documents folder to make the files completely private. I was able to modify the httpd.conf but I guess I was unable to set the www user access the localhost because my Documents folder is private! However, I was able to accomplish this on XP without a problem. The purpose of doing this is to hide my source-code from prying eyes. How do I set the www user able to execute files on localhost on my Documents folder but not allow reading the source files? The default localhost is installed on:

/Library/WebServer/Documents

that allows other users access my source-code and I wish to point it to:

/Users/<user>/Documents


User-type: Administrator

Please help...
TIA
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top