Hello, I'm using nginx 0.7.67 and Thttpd 2.25b from Debian Squeeze repositories. Nginx conf for cgi : location /cgi-bin { proxy_pass http://127.0.0.1:8000; } /etc/thttpd/thttpd.conf : port=8000 dir=/home/user/example.com nochroot user=www-data cgipat=**.cgi throttles=/etc/thttpd/throttle.conf logfile=/var/log/thttpd.log The cgi files are in /home/user/eby Ellimist - How to...
I have a configuration block like this : location /members/ { index main.php; } location ~ ^/members/(?:text1|text2|text3)/(?!noinclude)[^\/]+/ { auth_basic "Restricted Area"; auth_basic_user_file /home/password/.htpasswd; rewrite ^\/(members\/[^\/]+\/[^\/]+)\/$ /gallery.php?path=$1&page=1 last; rewrite ^\/(members\/[^\/]+\/[^\/]+)\/page([0-9]+by Ellimist - Nginx Mailing List - English
barszcz Wrote: ------------------------------------------------------- > Hi, > > I know this topic is old but I just found it while > searching for solution for exactly the same > problem. Finally I figured it out how to fix the > 404 problem for autoindexing so I'm posting it so > it'll maybe help someone someday :). > It seems that one have to move root line outby Ellimist - How to...