I'm not able to get *any* variables out from the apache server
environment. As you might be able to imagine, this is extremely
frustrating, and inhibits my ability to do anything of use with
mod_perl. My basic technique has been:
my $uri = $r-uri;
return unless $r-is_main();
, 2003-06-09 at 14:29, Ryan Muldoon wrote:
I'm not able to get *any* variables out from the apache server
environment.
Did you try the normal $ENV{'VARIABLE'} approach?
- Perrin
httpd.conf are you setting up the handlers
with modperl or perl-script? The former doesn't provide any environment
variables:
http://perl.apache.org/docs/2.0/user/config/config.html#C_SetHandler_
I don't believe this applies to mp1.
mma
-Original Message-
From: Ryan
any kind of difference.
To make sure it isn't just mod_ssl being lame for some reason, I've
tried it with DOCUMENT_ROOT and other standard ENV variables. But to no
avail. :(
--Ryan
On Mon, 2003-06-09 at 13:59, Geoffrey Young wrote:
Ryan Muldoon wrote:
I'm not able to get *any
'), and it definitely does not work. :(
--Ryan
On Mon, 2003-06-09 at 14:04, Perrin Harkins wrote:
On Mon, 2003-06-09 at 14:49, Ryan Muldoon wrote:
I tried that as well (and just re-tried). My understanding is that the
%ENV hash only gets updated in the fixup stage, so the mod_ssl
I didn't. But I just set that, and it didn't seem to make a
difference
--Ryan
On Mon, 2003-06-09 at 14:16, Randy Kobes wrote:
On Mon, 9 Jun 2003, Ryan Muldoon wrote:
Geoffrey,
Thanks for the explanation. Unfortunately, I think I am
still a little unclear as to how
to access them. You
*should* still be able to get to other Apache environment variables.
Try an easy one: test for mod_perl. If that works, your environment
variables are OK, and it's likely a mod_ssl problem that you're having.
Issac
- Original Message -
From: Ryan Muldoon
:
Ryan == Ryan Muldoon [EMAIL PROTECTED] writes:
Ryan Geoffrey,
Ryan Thanks for the explanation. Unfortunately, I think I am still a little
Ryan unclear as to how to proceed. If I understand you correctly, my first
Ryan method is completely wrongheaded. (I tried this because
On Mon, 2003-06-09 at 14:35, Geoffrey Young wrote:
Ryan Muldoon wrote:
Geoffrey,
Thanks for the explanation. Unfortunately, I think I am still a little
unclear as to how to proceed. If I understand you correctly, my first
method is completely wrongheaded.
:)
(I tried
Actually, upon flushing my browser cache and checking again, I can in
fact read the MOD_PERL environment variable just fine. But still no
luck on any mod_ssl related variables.
--Ryan
On Mon, 2003-06-09 at 15:24, Perrin Harkins wrote:
[ Please keep it on the list. ]
Sorry about that!
On Mon, 2003-06-09 at 16:12, Ryan Muldoon wrote:
Ryan, can you post a more complete code example?
- Perrin
Here it is:
package Apache::AuthNx509;
use strict;
use Apache
I'm trying to write an apache authentication module that uses client
certificates for authentication. Basically, all I'm trying to do is use
what mod_ssl does for cert verification, and then set REMOTE_USER. I
wrote to the list last week about a segfault, which was resolved thanks
to the help you
Aaron,
It looks like this did the trickmy module doesn't quite work yet,
but it isn't segfaulting anymore. Thanks!
--Ryan
On Fri, 2003-05-30 at 22:24, Aaron Ross wrote:
my $uri = $r-uri;
my $subr = $r-lookup_uri($uri);
Is this recursing? the subrequest will
I'm trying to write a authentication handler using mod_perl, and am
encountering some difficulty. I have isolated my problem to the usage
of the lookup_uri($uri) function call - whenever I call it, my module
segfaults. I have tested the input with both a variable string, and
just a quoted
14 matches
Mail list logo