1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Apache Autoindex on a subdomain (file listing)

Discussion in 'Plesk for Linux - 8.x and Older' started by albans, Jan 20, 2007.

  1. albans

    albans Regular Pleskian

    26
     
    Joined:
    Nov 29, 2005
    Messages:
    173
    Likes Received:
    0
    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:
    - 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!
     
  2. brainlag

    brainlag Guest

    0
     
    .htaccess

    Options +Indexes

    hope that i helpded
     
  3. albans

    albans Regular Pleskian

    26
     
    Joined:
    Nov 29, 2005
    Messages:
    173
    Likes Received:
    0
    I could finally make it work by commenting all lines in the file:
    /etc/httpd/conf.d/welcome.conf
     
  4. dynaweb

    dynaweb Guest

    0
     
    Very helpful, thanks!
     
Loading...