Connecting Tech Pros Worldwide Help | Site Map

Apache installation question?

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 17th, 2005, 11:28 AM
New to PHP
Guest
 
Posts: n/a
Default Apache installation question?


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, 11:28 AM
Janwillem Borleffs
Guest
 
Posts: n/a
Default 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



 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.