On Sun, Jan 14, 2007 at 10:03:43AM -0500, Perrin Harkins wrote: > Octavian Rasnita wrote: > >Is there a recommended method to get the correct port of the original > >request that works no matter if the application runs using a proxy > >server or not? > > You need it to set the port to whatever your backend server listens on > (83 you said?) and then you rewrite it in your proxy with a > ProxyPassReverse directive.
I don't use ProxyPassReverse in my front-end Apache config. Catalyst builds URLs for the front end server with $c->uri_for that includes the port. It should pull the port from X-Forwarded-Host, IIRC. -- Bill Moseley [EMAIL PROTECTED] _______________________________________________ List: [email protected] Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
