1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Default index page

Discussion in 'Plesk for Linux - 8.x and Older' started by torgojones, Mar 8, 2007.

  1. torgojones

    torgojones Guest

    0
     
    Is there a way to change what the default extension for an index file in the /httpdocs folder can be? I'd like for default.asp to be the default page. I know in the Windows version of Plesk 7.5 I can go to Web Directories section under the Hosting Setup and choose the default page in the Preferences button, but in Plesk 8.1 for Unix I can't find a way to do it.
     
  2. phatpixel

    phatpixel Guest

    0
     
    Create (or add to an existing) text file called .htaccess in the web root folder.

    Include the line:
    DirectoryIndex default.asp

    You can actually assign multiple default index files in order of preference, such as:
    DirectoryIndex default.asp index.htm index.html index.php
     
  3. torgojones

    torgojones Guest

    0
     
    I'll try that...thanks!
     
Loading...