Thread: Browsers that show a directory

  1. #1
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912

    Browsers that show a directory

    Are there any freely downloadable internet browsers that allow you to see like a directory listing off the files and folders for a website? I know that happens with IE if there's no index.* file available, but how can you force it?

  2. #2
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    You can't. It's controlled by server side configuration. If the web server doesn't want to give it, you ain't going to get it!
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  3. #3
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    I think the ability to view the directorie's content is dependent on the webserver. Using opera I'm able to see my test server's directories but can't see the same info on my hosted server.

  4. #4
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    Like Hammer said, it's server side configuration (not necessarily the server type or anything). It also depends on whether or not a default file is found or not. Most webservers will display the listing if a "default file" (index.htm, index.html, default.htm, index.php, etc.) is not found.

    There are ways to write scripts that will display the listing, however... but not on a server you cannot place files on.

  5. #5
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    Btw, and I know that ober touched this subject. index.* isn't necessary. If you have a server then go into its config files you'll notice that you can set the default page name. If you want you could have it be something like my_journal_entry_16_date_04_02_2004.dll But just bear in mind that every directory will end up neading a file with that name. Additionally not all servers will look for a file necessarily, some will run a script.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Not able to access directory of home folder
    By Bargi in forum Linux Programming
    Replies: 1
    Last Post: 02-06-2008, 02:45 AM
  2. How can i check a directory for certain files?
    By patrioticpar883 in forum C++ Programming
    Replies: 13
    Last Post: 02-01-2008, 05:27 PM
  3. Finding files in a directory
    By smarta_982002 in forum C Programming
    Replies: 1
    Last Post: 01-25-2008, 10:10 AM
  4. Building a tree from a directory structure
    By geekoftheweek in forum C Programming
    Replies: 2
    Last Post: 11-26-2007, 03:15 AM
  5. open directory and copy files
    By 5n4k3 in forum C++ Programming
    Replies: 3
    Last Post: 08-06-2003, 09:49 AM