I use
$c-req-address
-Original Message-
From: N.A. [mailto:n...@u01.gate01.com]
Sent: 23 March 2013 12:13
To: The elegant MVC web framework
Subject: [Catalyst] How to get IP address of the interface which the request
come through
I wan to get the IP address of the interface(network
ok, perhaps I should read all emails before replying :-)
Morning all ,welcome to the week!
-Original Message-
From: Peter Flanigan [mailto:p...@roxsoft.co.uk]
Sent: 23 March 2013 14:03
To: The elegant MVC web framework
Subject: Re: [Catalyst] How to get IP address of the interface which
I wan to get the IP address of the interface(network device) which the
request come through.
This information can be easily obtained by
$c-engine-env-{ SERVER_ADDR }
with FCGI setting both on nginx/lighttpd web servers.
However SERVER_ADDR is not defined in Catalyst Test Server.
Of course the
On 23/03/13 12:12, N.A. wrote:
I wan to get the IP address of the interface(network device) which the
request come through.
$c-req-address
--
Regards
___
List: Catalyst@lists.scsys.co.uk
Listinfo:
On 23/03/13 12:12, N.A. wrote:
I wan to get the IP address of the interface(network device) which the
request come through.
My bad.
Use $c-req-uri-host to get the hostname of the server
--
Regards
___
List: Catalyst@lists.scsys.co.uk
Listinfo:
(2013年03月23日 23:03), Peter Flanigan wrote:
On 23/03/13 12:12, N.A. wrote:
I wan to get the IP address of the interface(network device) which the
request come through.
My bad.
Use $c-req-uri-host to get the hostname of the server
Sorry, $c-req-uri-host is 'hostname', not a IP.
I want
On Sat, Mar 23, 2013 at 7:31 AM, N.A. n...@u01.gate01.com wrote:
(2013年03月23日 23:03), Peter Flanigan wrote:
On 23/03/13 12:12, N.A. wrote:
I wan to get the IP address of the interface(network device) which the
request come through.
My bad.
Use $c-req-uri-host to get the hostname
Interesting. What's your use case here?
Not a quite common use case.
I make a configuration generation site for Google-android apps.
Each user access the site from their own PC's to generate a
configuration file, and then send the config file to android terminals
over the USB connection.