Welcome Guest. Please Login or Register  


You are here: Index > Webuzo > General Support > Topic : How to enable directory listing in nginx



Normal Mode | Print  

 How to enable directory listing in nginx (2 Replies, Read 31727 times)
tivima
Group: Member
Post Group: Newbie
Posts: 8
Status:
Hello,

I apologize for my English.

===CASE #1===

So, I am using nginx as webserver.

In public_html, I made a directory called "dir1". I add some files in it let's says one.jpg, two.jpg, three.jpg. So these 3 files would be in /home/soft/public_html/dir1/ or hxxp://my_ip_address.com/dir1 (CMIIW)

But when I access the directory hxxp://my_ip_address.com/dir1, it shows 404.

===CASE #2===

I added 1 domain. Let's say domain1.com. I can access this domain by visiting hxxp://domain1.com. Within this domain, I created a directory called "asset" and put 3 TXT files in it, let's say 1.txt, 2.txt, 3.txt. Now I want to access this directory (in hope I can see the list of 3 TXT files), so I open my browser and visit hxxp://domain1.com/asset but when I do, it shows 404 error page

===QUESTION===
I wonder how to enable this directory listing? What file(s) should I configure?

Thanks in advance

Best regards
timiva

PS. I change the hxxp to http because I can't post URL.
IP: --   


Threads
 tivima   How to enable directory listing in nginx (2 Replies, Read 31727 times)
    |--  valley   Hi, Sir indexing...   on December 2, 2013, 6:23 am
    |--  tivima   thanks, it works....   on December 3, 2013, 12:12 pm

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is May 16, 2024, 2:33 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.027