-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Toni Mueller escribió: > in the default installation of nginx, the /doc URL space is not > supported. I'd like nginx to support it, simply to not need to install a > different webserver to access package information. The attached patch > accomplishes that, and contains a hack to make gzip-compressed files > easier to use. It's only a hack because nginx does not support the > notion of an "encoding" (yet?).
Thanks for your time and interest in nginx. Your patch needs a little tweaking since it violates Policy as it was sent, yet I think we could support /doc and /images with the following addition to the default virtual host: location /doc { root /usr/share; autoindex on; allow 127.0.0.1; deny all; } location /images { root /usr/share; autoindex on; } CGI, however, seems a little complicate and I don't feel it's safe ATM to implement it in nginx. Fabio: I've prepared revision -3 of the package with these two changes, but I'd like to have your opinion on this topic and also about supporting CGI. Thanks for your time, Jose -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH+X3LUWAsjQBcO4IRAj7eAJ0cu3hFMoM599Pht5yLmVKH10J+OgCcCXcY ysXlmaj2ow9P1Jp9YDdm7rw= =Ohbm -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]