Re: apache index page

From: redhat (redhat_at_lokrin.net)
Date: 12/20/03

  • Next message: Pete Nesbitt: "Re: problems getting CD-RW into SCSI emulation"
    To: redhat-list@redhat.com
    Date: Fri, 19 Dec 2003 20:59:07 -0800
    
    

    >>Hi all
    >>
    >>how do you set apache to load your website with out typing
    >>the default page.When i want to load my webpage i have to
    >>to for ex. http://192.168.0.1/index.htm i want it to load
    >>by typing http://192.168.0.1. When i do that the apache
    >>test page loads.How do i get around this please?
    >>
    >>
    >>
    in your configure file (/etc/httpd/conf/httpd.conf ?) look for the line
    like the following:

    DirectoryIndex index.php index.html index.htm index.shtml default.html
    default.htm home.html home.htm

    Make sure that index.htm is listed. Also you probabably want it listed
    first, since that is the one that you want as default. Leave the others
    there, since they will not harm anything and might be needed later.This
    tells Apache to look for the following files in order. That is, as in
    the above example, it looks first for index.php and loads that. If not
    found it looks for index.html, then looks for index.htm. In my case,
    most of my pages are .php so I have that first. Then it looks for the
    .html pages, since I have a couple of those in download directories to
    keep people from getting directory listings.

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Pete Nesbitt: "Re: problems getting CD-RW into SCSI emulation"

    Relevant Pages

    • apache index page
      ... how do you set apache to load your website with out typing ... the default page.When i want to load my webpage i have to ... by typing http://192.168.0.1. ...
      (RedHat)
    • Re: Is this possible with themes?
      ... // load the other table you want here ... I have developed a webpage which are using themes, ... For example one of the table cells contain a image (server ... control) and by selecting another theme then I want the image to appear in ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: IE6 chgs to offline while loading page
      ... about the DHCP lease that I assume you will be getting. ... > about the specific sequence of events and the problem ... >>> cable modem I encounter a webpage where IE starts to ... >>> webpage load at all. ...
      (microsoft.public.windows.inetexplorer.ie6.browser)
    • Re: IE6 chgs to offline while loading page
      ... about the specific sequence of events and the problem ... >> cable modem I encounter a webpage where IE starts to ... >> webpage load at all. ... >> same webpage being loaded each time with differing ...
      (microsoft.public.windows.inetexplorer.ie6.browser)
    • Re: A specific webpage has began loading slowly
      ... > old Dell laptop and was running XP with IE for my browser. ... The webpage background begins loading very slowly from the top of the ... > load the same page with no problem and they also run XP with IE. ...
      (microsoft.public.windows.inetexplorer.ie6.browser)