Results 1 to 6 of 6
  1. #1
    Join Date
    Sep 2000
    Location
    Boston
    Posts
    64

    Question

    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?

  2. #2
    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.

  3. #3
    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?

  4. #4
    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...

  5. #5
    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&eacute;lix C.Courtemanche &middot; webmaster@can-host.com
    Can-Host Networks &middot; http://www.can-host.com
    web&laquo;cp Control Panel &middot; http://webcp.can-host.com

  6. #6
    Join Date
    Sep 2000
    Location
    Boston
    Posts
    64

    Smile

    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".


  7. Newsletters

    Subscribe Now & Get The WHT Quick Start Guide!

Related Posts from theWHIR.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •