[Catalyst] changing the port
Octavian Rasnita
orasnita at gmail.com
Sun Jan 14 19:38:02 GMT 2007
From: "Bill Moseley" <moseley at hank.org>
> What does
>
> warn $c->uri_for('/');
>
> show in the logs?
Ok, I've solve it.
Even though the $host and $port were correct, $c->uri_for("/") wasn't
printing the full url correctly (without the port).
But this was because I have forgotten to add in httpd.conf:
ProxyPreserveHost On
I was using only ProxyRequests Off, ProxyPass and ProxyPassReverse
directives.
Do you have any idea what could be the following lines in httpd.conf?
[Sun Jan 14 17:04:36 2007] [error] [client 127.0.0.1] request failed: error
reading the headers
[Sun Jan 14 20:56:13 2007] [error] proxy: HTTP: disabled connection for
(localhost)
Thank you very much for your help.
Octavian
More information about the Catalyst
mailing list