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.
Is there any .htaccess file in the folder?
vBulletin® v3.7.3, Copyright ©2000-2009, Jelsoft Enterprises Ltd.