Questions regarding spdy module, browser behaviour and "access forbidden by rule"

Valentin V. Bartenev vbart at nginx.com
Wed Sep 3 22:04:09 UTC 2014


On Wednesday 03 September 2014 23:50:07 georg wrote:
> Hi Valentin,
> 
> Thanks for your help.
> 
> On 09/03/2014 10:23 PM, Valentin V. Bartenev wrote:
> > On Wednesday 03 September 2014 20:18:50 georg wrote:
> > [..]
> >> However, using Iceweasel 31.0-1~bpo70+1 (out of wheezy-backports), the
> >> browser console reads various 403 forbidden, and the nginx log is
> >> telling me the cause: "[...] 25108#0: *200 access forbidden by rule,
> >> client: XX.XX.XX.XX, server: wiki.example.com, request: "GET
> >> /lib/exe/js.php?tseed=1395165407 HTTP/1.1 [...]".
> >>
> >> I've got no clue how to debug this, to be honest. I didn't made any
> >> change, just upgrading one of the involved browsers.
> >> Could this be an incompatibility with this new Iceweasel version?
> >> Any ideas for this?
> > 
> > That's very strange.  Could you provide a debug log?
> > http://nginx.org/en/docs/debugging_log.html
> 
> Sure. I've posted it at [1], the log contains one access, just made with
> spdy enabled, and Iceweasel out of wheezy-backports.
> 
[..]

It's not clear how it's related to SPDY and Iceweasel, but it looks
like misconfiguration on your side.

In the debug log I see that docuwiki returns X-Accel-Redirect to 
"/var/lib/dokuwiki/data/cache/.." which is matched by location
~/(data|conf|bin|inc)/ with a deny rule.

  wbr, Valentin V. Bartenev



More information about the nginx mailing list