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

Domain Index page

Discussion in 'Plesk for Linux - 8.x and Older' started by thesedays, Jul 11, 2008.

  1. thesedays

    thesedays Guest

    0
     
    Hi,

    Ive setup a domain in Plesk 8.4 with PHP support on.
    Plesk auto sets index.php as default index page.

    However, I want index.html as default index page and index.php as 2nd priority.

    Can anyone help me out how to do this?


    Many thanks.
     
  2. faris

    faris Guest

    0
     
    In /etc/httpd/conf/httpd.conf there is a list of these files in one of the config lines. I *assume* the order in which they appear is important.

    Try changing it then restarrting apache.

    Make a copy of the file before editing it in case something goes wrong.

    Note that your changes may get overwritten when you update Plesk to a new version.

    Faris.
     
  3. thesedays

    thesedays Guest

    0
     
    Yeah, been doing that so far in the vhost/conf/httpd.include file.
    But it gets overwritten when I change the slightest bit in plesk

    f.e: create new domain, update plesk, ...


    So everytime I have to change the file manually again.
    Very annoying, that's why I was wondering if Plesk is able to change the default index page..
     
  4. thesedays

    thesedays Guest

    0
     
    no one who can help me? :l
     
  5. Blackbit@

    Blackbit@ Guest

    0
     
    Wich OS are you using?
     
  6. Blackbit@

    Blackbit@ Guest

    0
     
    If it is SuSE 10.x the DirectoryIndex is overwritten for the PHP5-Module:

    # cat /etc/apache2/conf.d/php5.conf
    <IfModule mod_php5.c>
    AddType application/x-httpd-php .php3
    AddType application/x-httpd-php .php4
    AddType application/x-httpd-php .php5
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php-source .php3s
    AddType application/x-httpd-php-source .php4s
    AddType application/x-httpd-php-source .php5s
    AddType application/x-httpd-php-source .phps
    DirectoryIndex index.php3
    DirectoryIndex index.php4
    DirectoryIndex index.php5
    DirectoryIndex index.php
    </IfModule>
     
  7. thesedays

    thesedays Guest

    0
     
    Heya, OS is Fedora Linux 6
     
  8. thesedays

    thesedays Guest

    0
     
    bump

    any thoughts?
     
Loading...