• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Default Documents for Directories

J

johnw@

Guest
How can I change the default document for different directories? I've read all the documentation, have full admin access, and I can't find for the life of me find the interface that will allow me to set different default documents for different web directories - like the "Documents" section of IIS. Can anyone PLEASE shed any light on this?
 
Just to clarify, you mean for Apache and not for windows right?

if so I believe its controlled by the DefaultDocuments option, you can probably set it with the directory option.

Something like

<Directory "/var/www/vhosts/domain.com/httpdocs/sub1">
DefaultDocuments index.html index.php etc etc
</Directory>
Please be advised I havent tried this so I dont know if that will work.
 
Yes, in Apache. I was merely referring to the equivalent functionality in IIS.

I'm a Linux noob, and have no idea what to do with that string of commands you mention.

I want to be able to do this through Plesk - as that's the whole point of the application. Is this simply not part of the Linux version???
 
Back
Top