
terence at deeproot
Oct 27, 2009, 3:44 AM
Post #1 of 1
(563 views)
Permalink
|
|
Proxy setup: frontend port from c.uri_for
|
|
I've setup multiple instances of the same application as follows: Host system: Apache shared hosting inst1.example.com:80 inst2.example.com:80 -> IP-addr:1180 (proxy) Chroot system: Apache backend IP-addr:1180 I want c.uri_for, c.request.base and c.uri_with to return the frontend port 80. I've set the following headers: X-Forwarded-Host: inst2.example.com:80 X-Forwarded-For: IP-addr Still, I am unable to get the frontend port. I even set the using_frontend_proxy config variable to 1. What am I missing? -- Regards, Terence. i-catalyze @ DeepRoot Linux _______________________________________________ List: Catalyst [at] lists Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst [at] lists/ Dev site: http://dev.catalyst.perl.org/
|