|
Mantis - Resin
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 3354 | minor | always | 02-24-09 13:16 | 03-18-09 15:33 | |
|
|
|||||
| Reporter: | ferg | Platform: | |||
| Assigned To: | ferg | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | 3.2.1 | ||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 4.0.0 | ||
|
|
|||||
| 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: | |||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||