From: "Bill Moseley" <[EMAIL PROTECTED]>

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.

I have also tried commenting out the ProxyPassReverse line in httpd.conf, and used in the Catalyst controller:

$c->res->redirect($c->uri_for("/"));

But it still redirects to the port 80 (without specifying any port).

Am I doing something wrong?

Thanks.

Octavian





_______________________________________________
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/

Reply via email to