HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   Enable directory listing on ISPConfig (nginx) (http://www.howtoforge.com/forums/showthread.php?t=61700)

MON@H Rasta 2nd May 2013 22:13

Enable directory listing on ISPConfig (nginx)
 
2 Attachment(s)
Hi. Help me to enable directory listing, please.

My configuration:
Ubuntu 13.04
ISPConfig 3.0.5.2
Nginx 1.2.6

I've added a web site to ISPConfig, uploaded folder with file and added nginx directive, but no luck... Getting error "403 Forbidden"

MON@H Rasta 4th May 2013 09:24

I will be grateful for any help...

MON@H Rasta 6th May 2013 20:28

I don't know what was wrong, but it's working now! :o
Must be that I added subdir to directive, not just var/www/mywebsite/web but var/www/mywebsite/web/folder

MON@H Rasta 6th May 2013 20:36

And it's not working again after resaving site options. I can't get it :mad:

MON@H Rasta 6th May 2013 22:26

1 Attachment(s)
GOT IT!!!
To use autoindex, you should add a custom dir, root dir (./web) will not be accessable. So in the end of configuration you should open
Code:

http://yoursite/customdir/

Settings below...

nginx Directives
Code:

location / {
        autoindex on;
}



All times are GMT +2. The time now is 14:29.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.