hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : How to open directories in nginx?
Reply

Forum Jump

How to open directories in nginx?

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 10-20-2009, 01:26 AM
reasonpolice reasonpolice is offline
Junior Guru Wannabe
 
Join Date: Jun 2007
Posts: 97

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



Sponsored Links
  #2  
Old 10-20-2009, 01:33 AM
foobic foobic is offline
Community Liaison 2.0
 
Join Date: Feb 2005
Location: Australia
Posts: 5,800
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".

__________________
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


Last edited by foobic; 10-20-2009 at 01:40 AM.
Reply

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

Related posts from TheWhir.com
Title Type Date Posted
Nginx to be Included in Upcoming Ubuntu Release Web Hosting News 2014-01-08 15:17:12
Nginx Raises $10M to Extend Commercial Support Web Hosting News 2013-10-15 11:20:26
Inside NGINX's First Commerical Product Web Hosting News 2014-05-09 12:40:27
nginx Version 1.4.0 Supports SPDY Protocol Web Hosting News 2013-04-29 15:08:14
Nginx Releases Version 1.3 with Support for WebSocket Protocol Web Hosting News 2013-02-20 14:43:42


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?