Well, the way the images folder is being displayed is using apache's built in index feature. Ironcally I recently got my ass ripped because that was enabled on our site. Long story. Anyway... If you have your own index (index.php, index.html, etc), then apache's built in index isn't going to be displayed. So it is possible to use apache's index feature to display the contents of the root web directory, but only if you aren't using your own index. If you do it that way, anyone going to freshtokyo.com is going to see the list of files, not your site. Kinda gay.
Of course you can use php or another scripting language to get the directory listing and render it in html. Personally I've never done it, but I'm sure there are thousands of scripts out there that do just that.
What is this for anyway? Why would you want people to see the contents of your directories? If it's something for only you, and not your visitors, you could set up WebDAV and be able to not only view the listing, but actually author the site. That's a whole other thing though.
__________________
Your sig is cooler than mine.
|