httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reid Watson <reid.wat...@auckland.ac.nz>
Subject [users@httpd] Proxy pass fails with Spring Security
Date Tue, 19 May 2015 03:59:34 GMT
Hi Everyone, 

I was hoping someone could shed some light on the issue I’m receiving 

Issue 

Proxy pass to https://uccx-pri.auckland.ac.nz:8444/cuic/j_spring_security_check timeouts /
hangs with a connection issue 

Log Snippet 

Access Log 

uccx-reports.dev.auckland.ac.nz: 127.0.0.1 - - [15/May/2015:17:20:42 +1200] "POST /cuic/j_spring_security_check?originalUrl=
HTTP/1.1" 302 - "https://uccx-reports.dev.auckland.ac.nz/cuic/Login.htmx" "Mozilla/5.0 (Macintosh;
Intel Mac OS X 10.10; rv:37.0) Gecko/20100101 Firefox/37.0"

Rewrite Log

127.0.0.1 - - [uccx-reports.dev.auckland.ac.nz/sid#7f275a8c8210][rid#7f2708002b20/initial]
setting env variable 'host' to 'uccx-pri.auckland.ac.nz', referer: https://uccx-reports.dev.auckland.ac.nz/cuic/Login.htmx
127.0.0.1 - - [uccx-reports.dev.auckland.ac.nz/sid#7f275a8c8210][rid#7f2708002b20/initial]
forcing proxy-throughput with https://uccx-pri.auckland.ac.nz:8444/cuic/j_spring_security_check,
referer: https://uccx-reports.dev.auckland.ac.nz/cuic/Login.htmx
127.0.0.1 - - [uccx-reports.dev.auckland.ac.nz/sid#7f275a8c8210][rid#7f2708002b20/initial]
go-ahead with proxy request proxy:https://uccx-pri.auckland.ac.nz:8444/cuic/j_spring_security_check
[OK], referer: https://uccx-reports.dev.auckland.ac.nz/cuic/Login.htmx

Rewrite rule is very basic 

<IfDefine DEV>
	ServerName https://uccx-reports.dev.auckland.ac.nz
</IfDefine>

RewriteRule .* https://uccx-pri.auckland.ac.nz:8444$0 [L,P,QSA,E=host:uccx-pri.auckland.ac.nz]

Notes 

Bypassing Apache to Authenticate via Spring Security works correctly 
https://uccx-pri.auckland.ac.nz:8444/cuic/Login.htmx 

I don’t have direct access the backend server but would like to know if someone has come
across a similar issue ?






---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Mime
View raw message