• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Apache Autoindex on a subdomain (file listing)

albans

Regular Pleskian
Hi,

I'm trying to set a subdomain to list the directory content via the Autoindex of Apache. But I can't get it to work...

I have PSA8.1 and FC5.
- First, I created in
/var/www/vhosts/mydomain.tld/subdomains/mysubdomain/conf
A file called "vhost.conf" with the following content:
<Directory /var/www/vhosts/mydomain.tld/subdomains/mysubdomain/httpdocs>
Options Indexes
</Directory>
- Then I executed:
/usr/local/psa/admin/bin/websrvmng -a -v
- Then I even restarted Apache

And I still get the default "Fedora Core Test Page" instead of the file listing when accessing to http://mysubdomain.mydomain.tld ... The subdomain is working as I can get the files if I put a full URL to them... The vhost.conf is also recognized, as if I put something like "ServerAlias www.mysubdomain.mydomain.tld", this works.

I don't get it... Any idea?
Thanks!
 
I could finally make it work by commenting all lines in the file:
/etc/httpd/conf.d/welcome.conf
 
Originally posted by albans
I could finally make it work by commenting all lines in the file:
/etc/httpd/conf.d/welcome.conf

Very helpful, thanks!
 
Back
Top