Results 1 to 6 of 6
Thread: Directory File Listing
-
10-04-2000, 12:42 PM #1Junior Guru Wannabe
- Join Date
- Sep 2000
- Location
- Boston
- Posts
- 64
Right now when i go to the directory (not a specific page) I get an error message. I want to setup the directory to give me a listing of the files in the directory.
I was wondering how do you setup a directory or server to list files in a directory via the web?
-
10-04-2000, 12:48 PM #2Junior Guru
- Join Date
- Sep 2000
- Location
- London, UK
- Posts
- 214
Assumably through a browser? You need to tell your server to allow directory browsing.
In IIS, right click the web site, do properties. On the home tab, click "allow directory browsing".
For Apache, its a case of editing a file, but can't remember off the top of my head.
-
10-04-2000, 01:10 PM #3Junior Guru Wannabe
- Join Date
- Sep 2000
- Location
- Boston
- Posts
- 64
Yes through a browser and the server is running Linux/Apache.
<anyone> Where can i look for more info about this?
-
10-04-2000, 01:23 PM #4Web Hosting Master
- Join Date
- Aug 2000
- Posts
- 2,750
Well you could add the following to your .htaccess file
"FancyIndexing On"
Without the "" . I think that should do the trick.
The Php Support Desk
http://www.phpsupportdesk.com
Custom programming - kunal @ e-phoria.com
http://www.pingzine.com - Ping!Zine. the FREE, FRESH and EXCITING Web Hosting Magazine...
-
10-04-2000, 02:34 PM #5Web Hosting Master
- Join Date
- May 2000
- Posts
- 587
Always make sure that your directory has publix execution enabled, (directory listing) if its disabled, one could still be able to read the files, but not to view the content of the directory. Also make sure it is public readable
Félix C.Courtemanche · webmaster@can-host.com
Can-Host Networks · http://www.can-host.com
web«cp Control Panel · http://webcp.can-host.com
-
10-04-2000, 03:37 PM #6Junior Guru Wannabe
- Join Date
- Sep 2000
- Location
- Boston
- Posts
- 64
Thanks for the posts.
A posting on another board offered the solution. Here's what worked. I created an .htaccess file with this line "options +indexes".