On 03/06/09 02:58 , Scott Gifford wrote:
> [ also posted on PerlMonks ]
>
> I'm working on porting some code that's been running on mod_perl 1 for
> a very long time to mod_perl 2. Mostly things have gone smoothly, but
> I'm having trouble with environment variables. Sometimes my scripts go
> off
Paul Silevitch writes:
> Scott,
>
> I had a similar problem and I used Env::C to get around it. Definitely read
> the perldoc to see the gotchas with this module.
>
> Let me know if it works for you,
Yeah, Env::C was the solution, thanks!
It would be very nice to make this clearer in the docs,
[ also posted on PerlMonks ]
I'm working on porting some code that's been running on mod_perl 1 for
a very long time to mod_perl 2. Mostly things have gone smoothly, but
I'm having trouble with environment variables. Sometimes my scripts go
off and run other scripts, and expect to be able to set t
On 17:27 Fri 13 Mar 2009, Idel Fuschini wrote:
>Hi,
>I want to set new environment variable with Apache. How can I do it ?
>For example I want to add the variable DEVICE=hello and I want to read
>with PHP program..
>
>Idel
Are you using mod_perl t
Hi,
I want to set new environment variable with Apache. How can I do it ?
For example I want to add the variable DEVICE=hello and I want to read with
PHP program..
Idel
hi,
the app i wrote is run under Apache::Registry only. i
am wondering if SetEnv/PassEnv will cause any problem
in this case (since setenv and passenv only affect
%ENV for content generation phase and beyond)?
also, a question on apache.. i have tried the
following under plain CGI
SetEnv PATH xx
On Nov 29, 2007 8:06 AM, <[EMAIL PROTECTED]> wrote:
> I try to setup the Perl section of the httpd.conf to 'pass' the 'VARIABLE'
> environment variable but without success !
Those settings are for passing variables into mod_perl, not for
passing them from mod_
set an environment variable before
launching the program. It's ok with mod_cgi, but it doesn't work with Mod_Perl.
The environment variable is not set.
I have written a small C program to test the case (LitEnv), it only display a
given environmenet variable. I also write the following sc
y in question was only protecting
GET, not POST. No idea why this was setup this way ... I only
inherited the code a few weeks ago. Anyway, apparently when setup this
way the REMOTE_USER environment variable is not populated on posts.
The code in question was doing this:
$USER = remote_user
Owen Berry wrote:
I tried logging "$r->user()" to see if that was more reliable, but no
luck there either.
Apache 2.0.46
mod_perl 1.99_09
Perl 5.8.0
I haven't had any problems with $r->user() lately. And AFAIR Apache::AuthDBI
worked for me with various 1.99 RCs before RC5, without Apache::compat
On 4/18/05, Owen Berry <[EMAIL PROTECTED]> wrote:
> I am experiencing a problem with the REMOTE_USER environment variable
> after an upgrade to Apache 2. We are using AuthDBI to authenticate
> users, which uses basic authentication with the browser to request
> their details
I am experiencing a problem with the REMOTE_USER environment variable
after an upgrade to Apache 2. We are using AuthDBI to authenticate
users, which uses basic authentication with the browser to request
their details. Hence the use of REMOTE_USER.
Users authenticate fine and seem to be working
colin_e wrote:
[...]
What i'm unclear on is the output line from the script-
'SCRIPT_FILENAME' => 'I:/WWW/public/testapp',
This is the publicly-visible URL of my script. Fine, but does the
environment
give me any way to find the physical location of my script (i.e.
'I:/WWW/private/lib/tes
Platforms: Solaris 9, Win XP
Apache: 2.0.52
Perl: ActiveState Perl 5.8.4
I'm making the first tentative steps in getting scripts running under
mod_perl.
At this point i'm aiming to "encapsulate" a mod_perl script and all it's
supporting images
etc., so to the client they all appear under a singl
14 matches
Mail list logo