• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Directory listing

B

BigBr0thr

Guest
I created a subdomain demo.mydomain.nl .
if users browse to this dir, i want a directorylisting to show up.
After studieing some posts, i figured out that the way to do this, is to create a .htaccess file in this directory and to put Options +Indexes in this file.
When i browse to this site, i still get a file not found error.
Do i have to change anything in the httpd.conf ??
Or could there be anything wrong with owner/permissions ??
 
Are you sure that you put the .htaccess file in the root of the "httpdocs" directory for the subdomain? It should work straight off when you add "Options +Indexes" to the file.

Can you load files from the subdomain - just to make sure it is working?

- Chris
 
Yup, the .htaccess file is in the httpdocs dir of the subdomain.
The strangest thing is that when i browse to demo.mydomain.nl i get the mainpage of the maindomain. I suspect that Mambo changed the config for the domain.
 
It sounds like the subdomains isn't working at all then if you're browsing to sub.domain.com and seeing www.domain.com.

Try removing and re-adding the subdomain.

Also make sure you have the most up-to-date version of Plesk by running the updater (Server > Update).

Best Regards,

- Chris
 
Back
Top