Connecting Tech Pros Worldwide Help | Site Map

Apache installation question?

  #1  
Old July 17th, 2005, 12:28 PM
New to PHP
Guest
 
Posts: 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!
  #2  
Old July 17th, 2005, 12:28 PM
Janwillem Borleffs
Guest
 
Posts: n/a

re: Apache installation question?


New to PHP wrote:[color=blue]
> 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"
>[/color]

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



Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation Question bray answers 5 April 5th, 2007 10:35 AM
Problem getting started with PHP after installing Apache and PHP coaa answers 5 April 2nd, 2007 08:50 PM
ip address question (trouble with remote_addr) ojorus answers 4 June 2nd, 2006 06:15 PM
Apache appending .php extension? raisins@gmail.com answers 5 May 25th, 2006 04:25 PM