Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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.

  2. #2
    Join Date
    May 2004
    arch linux
    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.

  3. #3
    Linux Engineer Zelmo's Avatar
    Join Date
    Jan 2006
    Riverton, UT, USA
    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!

  4. $spacer_open

Posting Permissions

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