search for: passenv

Displaying 6 results from an estimated 6 matches for "passenv".

Did you mean: passent
2020 May 28
5
xinetd custom service - perl - remote address
...lieve that I can't find the answer to this one. I have a perl script which is called by xinetd. I want that perl script to be able to detect the remote IP address of the caller. I presumed that it would be an environment variable but I could be wrong. I've found reference to the ENV and PASSENV arguments for xinetd.conf but no examples, and no indication of what auguments to use. In my script I have the following code: foreach (keys %ENV) { print "$_=$ENV{$_}\n";} but the only line I get back is: XINETD_LANG=en_US
2020 May 28
0
xinetd custom service - perl - remote address
...r to this one. I have a > perl script which is called by xinetd. > > I want that perl script to be able to detect the remote IP address > of the caller. > > I presumed that it would be an environment variable but I could be > wrong. I've found reference to the ENV and PASSENV arguments for > xinetd.conf but no examples, and no indication of what auguments to > use. > > In my script I have the following code: > > foreach (keys %ENV) { print "$_=$ENV{$_}\n";} > > > but the only line I get back is: > > XINETD_LANG=en_US I d...
2020 May 28
0
xinetd custom service - perl - remote address
...;t find the answer to this one. I have a perl script which is called by xinetd. > > I want that perl script to be able to detect the remote IP address of the caller. > > I presumed that it would be an environment variable but I could be wrong. I've found reference to the ENV and PASSENV > arguments for xinetd.conf but no examples, and no indication of what auguments to use. > > In my script I have the following code: > > foreach (keys %ENV) { print "$_=$ENV{$_}\n";} > > > but the only line I get back is: > > XINETD_LANG=en_US Works for...
2006 Nov 30
0
Are shared libraries being loaded in some other context?
...ory - /home/myusername/gems/gems/rmagick-1.14.1/lib/RMagick.so LD_LIBRARY_PATH is: /home/myusername/local/lib GEM_PATH is:/home/myusername/gems:/usr/lib/ruby/gems/1.8 This is all running under Apache so I have checked that the Apache user can read all the relevant directories. I have also tried PassEnv in my .htaccess to no avail - in any event it is clear from the above output that the environment variables are being set properly. My theory on things: The one main difference between the console and live sessions is that with the console the environment variables are already set before I invoke...
2009 Oct 19
3
apache env vars - best practices
I've been setting custom env vars for Apache 1 of 2 ways; 1 - Changing the passwd file so Apache has a shell and loading a custom .bashrc file. 2 - Using the SetEnv directive in my httpd.conf file. I'm crazy about neither one as they both have limitations; 1 - I don't like giving Apache its own shell. 2 - The SetEnv directive only takes 2 args so if I have a var with multiple
2006 Apr 27
5
one more try - ENV and FastCGI
Hi, I''m desperate, so I thought I''d try one more time in the hopes of getting a different audience. Basically. it boils down to this. Using CGI, the ENV hash is populated and is accessible from a model script. Using FastCGI, the ENV hash is empty. Can anyone explain how I can fix this? Thanks, Stan Mcfarland -- View this message in context: