apache - mod_rewrite mysterious subreq -
seems apache module interfering request uris suffixes ".html" it.
my rewrite log:
172.16.103.1 - - [08/mar/2012:14:56:33 +0100] [www.example.org/sid#7ff723575b58][rid#7ff724b4fc58/initial] (1) pass through /folder/subfolder/ 172.16.103.1 - - [08/mar/2012:14:56:33 +0100] [www.example.org/sid#7ff723575b58][rid#7ff724b42468/subreq] (3) [perdir /srv/www/html/project/] add path info postfix: /srv/www/html/project/folder/subfolder.html -> /srv/www/html/trustedshops/folder/subfolder.html/ 172.16.103.1 - - [08/mar/2012:14:56:33 +0100] [www.example.org/sid#7ff723575b58][rid#7ff724b42468/subreq] (3) [perdir /srv/www/html/project/] strip per-dir prefix: /srv/www/html/project/folder/subfolder.html/ -> folder/subfolder.html/
this merely happens on our development servers. it's hard compare whole apache config. ideas module responsible?
- turn off multiviews generates subrequests
- ditto directoryindex list of possiblities.
use ns flag on rewrite rules, or
rewritecond %{is_subreq} t rwriterule ^ - [l]
Comments
Post a Comment