This is Apache on OS 10.5. I changed my DocumentRoot from /Library/WebServer/Documents to /Users/Username/Sites so that I can just have my document root in my user folder. The only issue is that Apache still allows http://localhost/~Username to be accessed. It gets the same web site, but I would prefer to just come up as 404 not found. If I remove my Username.conf in apache2/users/ folder then nothing works. Which is the correct way to configure this?
Nevermind, I found I needed to comment out a line in httpd.conf. # User home directories #Include /private/etc/apache2/extra/httpd-userdir.conf