• 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.

durectory listings help

O

okay59

Guest
Hi, i recently ordered a webhosting package that came with a plesk CP.

What i want to know is if there is any way to allow directories to list via plesk. For example, if i visit say domain.com/images it will say "permission denied.." i would like it to display the images within that folder if you catch my drift.

Also, if there any way to remove the default homepage for new subdomians, displaying an apache welcome screen, any help would be appreaciated and thank you for your time.
 
yes, with apache (webserver used by plesk) directory listing is disabled by default.

You can enable directory listings on a per -directory basis by using ".htaccess" file in that directory.

Basically create a file called .htaccess and in that file put "Options Indexes"

That tells apache to allow directory listing (index) for that and child directories.

Also,
It won't display thumbnails of a folder, just list the files in that folder. If you want thumbnails, etc, take a look at a gallery style program, i.e., gallery.menalto.com
 
for the Plesk default page:
for new domains:
go into the Plesk control panel > Server > Skeleton. Navigate to httpdocs folder and replace the index.html file with your own default placeholder.

for the default page when you connect to the server with an unrecognized hostname or an ip address: check the site folder called "default" where all your other domains are held.
 
Same procedure ?

We just created an .htpasswd with "Options Indexes" under a new subdomain and didn't work on a psa 8.1.

No errors on log.

Any idea?
 
**deleted** didn't pay attention to how old this message was.
 
Back
Top