Find the answer to your Linux question:
Results 1 to 3 of 3
I have Apache installed and PHP, mySQL running on Fedora 5. When I go to my url I get the default apche page saying If you are the website administrator: ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2006
    Posts
    4

    Smile Where is my index.html?


    I have Apache installed and PHP, mySQL running on Fedora 5.
    When I go to my url I get the default apche page saying If you are the website administrator:
    You may now add content to the directory /var/www/html/. Note that until you do so, people visiting your website will see this page,

    I go to the directory /var/www/html/ and nothing in there has my index.html

    Does anyone know who I can find out where it would be.

    If I could just find that default apache web page I can alter it to make it what I want. Only problem is, I have no clue where it is, nor how to find it.

    Thanks for your help.
    Doug.

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    If I remember correctly, when no index file exists in /var/www/html, apache serves /var/www/error/noindex.html by default. To create your own home page, create a file named index.html and copy it to the /var/www/html directory, then test that you can retrieve it through a browser.

    If that's wrong, maybe someone will correct me.
    oz

  3. #3
    Linux Engineer Zelmo's Avatar
    Join Date
    Jan 2006
    Location
    Riverton, UT, USA
    Posts
    1,001
    What I've done in the past is just create a link called index.html that points to my main page.
    Stand up and be counted as a Linux user!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •