• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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