* Roberto De Ioris <[email protected]> [2013-02-28 11:23]: > Just fixed a stupid bug with 1.9 --static-index :P > > This is a more readable example: > > [uwsgi] > plugins = 0:notfound,cgi,php > http-socket = :8080 > > docroot = /root/uwsgi/testcgi > > check-static = %(docroot) > cgi = %(docroot) > > for = cgi pl py php php4 php5 inc > static-index = index.%(_) > static-skip-ext = .%(_) > endfor = > > for = cgi pl py > route = \.%(_)$ uwsgi:,9,0 > cgi-index = index.%(_) > endfor = > > for = php php4 php5 inc > php-index = index.%(_) > php-allowed-ext = .%(_) > route = \.%(_)$ uwsgi:,14,0 > endfor =
Thanks, that makes the index.html and index.pl cases work (after adding static-index = index.html), but PHP now doesn't work any more, both http://127.0.0.1:8080/bar/ and http://127.0.0.1:8080/bar/index.php now return a 404. -- Guido Berhoerster _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
