On 12/24/2011 02:47 PM, Dmitry Borodaenko wrote:
Package: nginx
Version: 1.1.11-1
Severity: normal

Current default site configuration causes direct access to documents
under /usr/share/doc to produce 404 errors like this:

2011/12/24 16:36:08 [error] 30139#0: *1 
"/usr/share/docgit-buildpackage/manual-html/index.html" is not found (2: No such 
file or directory), client: 127.0.0.1, server: localhost, request: "GET /doc/gi
t-buildpackage/manual-html/ HTTP/1.1", host: "localhost"

I believe this is caused by changes done in 1.1.8-1 (a slash was added
to location, but not to the alias), adding a slash to the end of the
alias makes the problem go away:

         location /doc/ {
                 alias /usr/share/doc/;

Thanks,
Dmitry Borodaenko

-- System Information:
Debian Release: wheezy/sid
   APT prefers unstable
   APT policy: (990, 'unstable'), (70, 'testing'), (50, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=be_BY.UTF-8, LC_CTYPE=be_BY.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nginx depends on:
ii  nginx-full  1.1.11-1

nginx recommends no packages.

nginx suggests no packages.

-- no debconf information



Hi Dmitry.

Thank you for submitting this bug, and you are right this bug appeared in the 1.1.8-1 when the alias for /doc was changed.

I made the correction on the SVN.

I think this can wait until the next upstream version to be resolved in the actual package, no need for a 1.1.11-2 package version.

Thanks.

--
Cyril "Davromaniak" Lavier




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to