Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2007
    Posts
    99

    How to open directories in nginx?

    Anyone have step by step instructions for how to make web directories without an index file publicly accessible?

    So when you go to mywebsite.com/Files you can download the files in that directory through the browser

    Or is there a workaround, some easy way to make an index file that lists all the files in that directory. thx

  2. #2
    Join Date
    Feb 2005
    Location
    Australia
    Posts
    5,837
    Code:
    Options +Indexes
    either in .htaccess or the website's virtualhost config (in which case you'd probably want to put it inside a <Directory /path/to/mywebsite.com/Files> </Directory> container).

    Edit: B....r! Note to self: Must read title! Under nginx I believe the option you want is "autoindex on".
    Last edited by foobic; 10-20-2009 at 01:40 AM.
    Chris

    "Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them." - Laurence J. Peter

  3. Newsletters

    Subscribe Now & Get The WHT Quick Start Guide!

Similar Threads

  1. Nginx, help needed
    By AndiV74 in forum Hosting Software and Control Panels
    Replies: 3
    Last Post: 07-11-2009, 08:45 PM
  2. nginx and php issues
    By djsmokin in forum Hosting Security and Technology
    Replies: 10
    Last Post: 03-27-2009, 02:16 PM
  3. Anyone got RT 3.8.0 to run with lighttpd or nginx?
    By Darvil in forum Hosting Security and Technology
    Replies: 1
    Last Post: 09-04-2008, 09:21 AM
  4. Three directories - Cars, Baseball and Directory of Directories
    By Stevie in forum Domain Name with Web Site Offers
    Replies: 3
    Last Post: 06-08-2007, 01:36 PM
  5. An Open Challenge to the Web Hosting Directories
    By bteeter in forum Other Offers & Requests
    Replies: 29
    Last Post: 12-29-2001, 09:17 PM

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
  •