...

View Full Version : How to make file structure visible



madmatter23
05-07-2008, 06:45 AM
Hello,

I was wondering how to make a web directory's file structure visible to the public. I've seen this done before... I just need to make one folder's contents "browsable."

I've looked through cPanel and can't find anything relating to this... is there perhaps some line that I can place in the directory's php.ini file?

Thanks

abduraooft
05-07-2008, 09:09 AM
Have a try by putting an .htaccess file in your root directory having a content Options +Indexes in it.
(assuming you are using apache)

harbingerOTV
05-07-2008, 03:36 PM
you could also give a go with php file tree (http://abeautifulsite.net/notebook.php?article=21)
you can specify a folder like


<?php echo php_file_tree("myFolder", ...

instead of their example of document root.

of course you need to have php on your server for that one.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum