1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

Default page - Site Preview

Discussion in 'Plesk for Linux - 8.x and Older' started by rmiinc, Jul 13, 2005.

  1. rmiinc

    rmiinc Guest

    0
     
    To preview a site, the manager directs you to the index.html page.

    Can the default setting be changed for each site (i.e. index.htm), especially for those clients that have a different extension for their default page?

    Thanks.
     
  2. phoenixisp

    phoenixisp Silver Pleskian

    27
    57%
    Joined:
    Feb 2, 2002
    Messages:
    840
    Likes Received:
    0
    The httpd.conf file sets the default. You'll find it in the /etc/httpd/conf directory. Look for the line that starts with:

    DirectoryIndex

    and add, say, default.htm to the end making it look like:

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

    If you make any changes be sure to restart Apache.
     
  3. rmiinc

    rmiinc Guest

    0
     
    Thank you for your help.
     
Loading...