Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003354 [Resin] minor always 02-24-09 13:16 03-18-09 15:33
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.0 Product Version 3.2.1
  Product Build
Summary 0003354: request-secure affecting logging
Description (rep by Tamas Pinter)

I'm using external loadbalancer/ssl proxy with resin-3.1.8.
To get https redirects working I`m using rewrite-dispatch to match
a specific header in the incoming request to set the request-secure
variable as advised here:

http://maillist.caucho.com/pipermail/resin-interest/2007-June/001125.html [^]

Redirects are working, but request logging stops when I set request-secure.

resin.conf:

   <host-default>
     <access-log path="logs/access.log"
           format='%{X-Forwarded-For}i %h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"'
           rollover-period="1W"
           exclude="check.txt"/>
   </host-default>

   <host id="my.site.net" root-directory="/my.site.net">
     <web-app id="/" document-directory="www"/>
     <rewrite-dispatch>
       <set request-secure="true">
         <when header="X-Forwarded-For"/>
       </set>
     </rewrite-dispatch>
   </host>

The site is working, but no logs in RESIN_HOME/logs/access.log or
/my.site.net/logs/access.log
If I remove the rewrite-dispatch logging is working.
Any advice ?

Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0003893)
ferg
03-18-09 15:33

server/1kk7
 

- Issue History
Date Modified Username Field Change
02-24-09 13:16 ferg New Issue
03-18-09 15:33 ferg Note Added: 0003893
03-18-09 15:33 ferg Assigned To  => ferg
03-18-09 15:33 ferg Status new => closed
03-18-09 15:33 ferg Resolution open => fixed
03-18-09 15:33 ferg Fixed in Version  => 4.0.0


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker