Apache installation question?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • New to PHP

    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!
  • Janwillem Borleffs

    #2
    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



    Comment

    Working...