Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to access my localhost but I am getting a "Not Found" error. What I am trying to do is get to my Sites directory (/User/[username]/Sites).

Right now I have the following commented:

# Real-time info on requests and configuration
# Include /private/etc/apache2/extra/httpd-info.conf

I've also got my permissions correct:

User [username]
Group staff

Any info would be great. Also if someone could give me the correct naming of this technique - that would be helpful. Instead of just calling it "Removing Apache per user directories."

Thank You!

share|improve this question
Your logs say...? – Ignacio Vazquez-Abrams Mar 7 '12 at 22:26
Sorry - I actually should have checked that out and included it. But I actually forgot to add locahost as a virtual host. My bad! – alvincrespo Mar 7 '12 at 22:31

Nevermind everyone. What I really needed to do was add the virtual host within my vhost.conf file as so:

<VirtualHost *:80>
    DocumentRoot "/Users/[username]/Sites"
    ServerName locahost
    ErrorLog "/private/var/log/apache2/localhost-error_log"
    CustomLog "/private/var/log/apache2/localhost-access_log" common

I apologize for the confusion.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.