On Sun, Jan 14, 2007 at 06:55:28PM +0200, Octavian Rasnita wrote:
> I have tried it, and yes, the host and port are well taken this way.
> But how should I redirect automaticly to the base directory (/) including 
> the port?


What does 

    warn $c->uri_for('/');

show in the logs?

I just started up my front/back server on my host "bumby" with the
front end listening on 8080 (the back end listens to 18080).

I added this to a template:

    uri = c.uri_for('/');
    "uri = [$uri]\n" | stderr;

And in my logs I have:

    uri = [http://bumby:8080/]




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

Reply via email to