If you mean to get hostname in offline mode (off the processing request) -
the hostname is not known because there are no request.
You can get the server's real hostname by Sys::Hostname::hostname() but this
probably won't help.
2008/1/9, Octavian Rasnita <[EMAIL PROTECTED]>:
>
> Hi,
>
> Is it pos
Oh, I was too fast. Blush. You mean without the context object. :(
On Jan 8, 2008, at 11:31 PM, Octavian Rasnita wrote:
Hi,
Is it possible to get the host name in MyApp.pm just like I can do
it in a controller using
$c->req->hostname;
Thank you.
Octavian
___
Will I win this game of slapjack?
$c->request->uri->host
On Jan 8, 2008, at 11:31 PM, Octavian Rasnita wrote:
Hi,
Is it possible to get the host name in MyApp.pm just like I can do
it in a controller using
$c->req->hostname;
Thank you.
Octavian
Hi,
Is it possible to get the host name in MyApp.pm just like I can do it in a
controller using
$c->req->hostname;
Thank you.
Octavian
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searc
>-Message d'origine-
>De : Ashley [mailto:[EMAIL PROTECTED]
>Envoyé : mercredi, 9. janvier 2008 04:05
>À : The elegant MVC web framework
>Objet : [Catalyst] POD viewer
>
>Through a somewhat shallow search (difficult terms to search out
>effectively) of the archives and search.CPAN I can'
Through a somewhat shallow search (difficult terms to search out
effectively) of the archives and search.CPAN I can't find if anyone
has hacked up a Cat based POD viewer/Controller; like the modperl
Apache one but, one hopes, without the (early?) security issues.
I want to be able to share
On Jan 8, 2008 7:58 PM, <[EMAIL PROTECTED]> wrote:
> Hi,
> in my application, if a client issues a request after say 30 minutes of
> inactivity, I want to answer his request only after successfull
> authentication.
>
> Ideally, I would simply serialize $c->request in the session, ask for
> authent
Hi,
in my application, if a client issues a request after say 30 minutes of
inactivity, I want to answer his request only after successfull
authentication.
Ideally, I would simply serialize $c->request in the session, ask for
authentication, then if successfull restore the stored request to $c
On Jan 7, 2008, at 10:16 PM, Adam Jacob wrote:
On 1/7/08, Jason Kohles <[EMAIL PROTECTED]> wrote:
It's also kind of a pain. I use log4perl with Catalyst, but without
the plugin, primarily for three reasons:
Patches are gladly accepted, especially if they make things better,
and don't break b