Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8571895
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T18:53:01+00:00 2026-06-11T18:53:01+00:00

I loaded Apache Web server on Mac OS Mountain Lion with the command sudo

  • 0

I loaded Apache Web server on Mac OS Mountain Lion with the command

sudo apachectl start

However, when I try to open localhost in Firefox, I get the message

Not Found: The requested URL / was not found on this server. Apache/2.2.21 (Unix) DAV/2 Server at localhost Port 80

I edited both httpd.conf and httpd.conf.default to change

#ServerName www.website.com

to

ServerName localhost

It still doesn’t work. Any suggestions?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T18:53:02+00:00Added an answer on June 11, 2026 at 6:53 pm

    You should check the permissions on the folder specified as the “DocumentRoot” in your “httpd.conf”, and allow at least read access for the Apache user (which should by “_www” by default).
    Otherwise you could do a “sudo chmod 755” on the “DocumentRoot” folder.
    By the way, you should only modify the “httpd.conf” file, since the “httpd.conf.default” is a default configuration that you can use if you want to restore the Apache original configuration, by simply overwriting the “httpd.conf” file with the “httpd.conf.default” file.
    I suppose that you’ve not enabled name-based virtual hosts, since when you enable name-based virtual hosts, the document root in the main config is ignored; instead, the root for the matching hostname will be used, and if none match it will default to the first virtual host.
    Finally, when you have problems, the first thing to check is always the Apache error log file.
    The location of the the error log can be found by looking at the “ErrorLog” directive in the Apache configuration file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Apache web server is running under Windows 7 professional. Apache version is Apache/2.2.17 (Win32)
I have an Apache server running a web application. In this webapplication I show
I recently upgraded my Mac's OS from Lion to Lion Server, which changes how
I loaded d dynamic list of web fonts offered by the Google Web Fonts
I start glassfish with ~/.glassfish/bin/asadmin start-domain domain1 Everything works perfect. I enter to http://localhost:8080
I have 2 java web apps that need to connect to SQL Server Database
I'm trying to get data from a web-page into my sidebar gadget via: $.get(http://localhost/index.php,
php generates GIFs on the web server using a databases on a second server.
I am developing a web app using Kohana 3.2 with the following modules loaded:
I have developed a simple Apache-Axis java web service using Eclipse IDE and now

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.