By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,184 Members | 1,546 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,184 IT Pros & Developers. It's quick & easy.

Apache installation question?

P: n/a

I am able to install Apache in my XP home edition.
I did put a very simple index.html /apache/htdocs/index.html
and when I type in http://localhost/index.html, I get this error :
Not Found.

Please tell me where should I put the index.html?

Thanks.

PS. I did not change httpd.conf and here is part of it

DocumentRoot "/apache/htdocs"

#
# Each directory to which Apache has access, can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
#
# First, we configure the "default" to be a very restrictive set of
# permissions.
#
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>

================== http://localhost/index.html

The requested URL /index.html was not found on this server.
Apache/2.0.52 (Win32) Server at localhost Port 80
================================= http://localhost
If you can see this, it means that the installation of the Apache web server software on this system was successful. You may now add content to this directory and replace this page.
Seeing this instead of the website you expected?

This page is here because the site administrator has changed the configuration of this web server. Please contact the person responsible for maintaining this server with questions. The Apache Software Foundation, which wrote the web server software this site administrator is using, has nothing to do with maintaining this site and cannot help resolve configuration issues.

The Apache documentation has been included with this distribution.

You are free to use the image below on an Apache-powered web server. Thanks for using Apache!
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
New to PHP wrote:
I am able to install Apache in my XP home edition.
I did put a very simple index.html /apache/htdocs/index.html
and when I type in http://localhost/index.html, I get this error :
Not Found.

Please tell me where should I put the index.html?

Thanks.

PS. I did not change httpd.conf and here is part of it

DocumentRoot "/apache/htdocs"


This is correct in an unix environment, not in a windows environment.

It should read something like:

DocumentRoot "c:/apache/htdocs"

(When apache is actually installed on your c: drive in a folder named
"apache")
JW

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.