• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Domain Index page

T

thesedays

Guest
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.
 
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.
 
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..
 
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>
 
Back
Top