Where is the default placeholder (index.html) page located?

Created:

2017-06-05 05:11:58 UTC

Modified:

2017-06-05 05:11:58 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Where is the default placeholder (index.html) page located?

Applicable to:

  • Plesk for Linux/Unix

Resolution

The default placeholder (index.html) page for secure documents is taken from the default skeleton. You can find it in the HTTPD_VHOSTS_D /.skel/0/httpdocs/ directory:

~# ls -l /var/www/vhosts/.skel/0/httpdocs
total 40
drwxr-xr-x  2 root root  4096 Jul 22  2008 css
-rw-r--r--  1 root root 17542 Jun  4  2008 favicon.ico
drwxr-xr-x  5 root root  4096 Jul 22  2008 img
-rw-r--r--  1 root root  7277 Jun 26  2008 index.html
drwxr-xr-x 11 root root  4096 Jul 22  2008 test
~#


You may safely replace the index.html file. Please remember to fix the file permissions. You may do this with the commands chown and chmod :

~# chown root:root HTTPD_VHOSTS_D/.skel/0/httpdocs/index.html
~# chmod 644 HTTPD_VHOSTS_D/.skel/0/httpdocs/index.html

Have more questions? Submit a request
Please sign in to leave a comment.