PDA

View Full Version : Help Wanted: How do you make it so a diectory lists when there is no index.html file


ChronoCross
06-26-2005, 05:29
I want one of my subdomains to be a simple list of files in the directory. I have tried changing the permissions already but I think there is something else it needs. Anyone have any ideas?

psyxakias
06-26-2005, 06:53
It can be done with 2 (or more) ways.. Using httpd's directives or an external script (cgi, php, etc)

1) Options directive on httpd.conf. Example:
<Directory /usr/local/psa/home/blahdomain.com/httpdocs/blahdir>
Options Indexes
</Directory>

Additional information: http://httpd.apache.org/docs-project/ and search for Indexing/Indexes

2) AutoIndex PHP script: http://autoindex.sourceforge.net/

ChronoCross
06-26-2005, 07:29
thx Aggelos. i was pretty sure it was a httpd.conf thing but I don't hve access to it.

ZaNaToS
07-21-2005, 09:42
Is there any .htaccess file in the folder?

rawcool
07-22-2005, 07:13
what version of plesk?