• 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!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

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