:));
__END__
Does this make sense? Will this work? Will this be secure? (as long as
no one intercepts my call to set_secret() in startup.pl by installing a
bogus MyHandler.pm in my lib search path ...).
Thanks,
-Aaron
--
Aaron J Mackey
Pearson Laboratory
University of Virginia
(434) 924-2821
[EMAIL
I need to access some of the information in http.conf during startup.pl
(more than what Apache::Server and/or dir_config can tell me). It seems
that there are at least 3 httpd.conf parsing Apache::* modules out there,
so:
a) which one is recommended by gurus?
b) can I find out the path to
I have a completely mod_perl handler-based web app set up as so:
Location ~ ^/myapp
PerlHandler Client::WWW
SetHandler perl-script
PerlSetVar ConfigFile /home/ajm6q/myapp/data/www-config
/Location
The Client::WWW handler decides what to do based on the
://secure.server.com/
/VirtualHost
Regards,
Christian
-
Christian Gilmore
Technology Leader
GeT WW Global Applications Development
IBM Software Group
-Original Message-
From: Aaron J Mackey [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 13, 2002 1:12 PM
To: [EMAIL PROTECTED
Can anyone see something wrong with this, or suggest a better mechanism:
unless ( $ENV{HTTPS} ) {
# bounce request to secure port
my $uri = $r-parsed_uri();
$uri-scheme('https');
$r-header_out(Location = $uri-unparse());
return REDIRECT;
}
This
.
-Aaron
--
Aaron J Mackey
Pearson Laboratory
University of Virginia
(434) 924-2821
[EMAIL PROTECTED]
On Mon, 13 May 2002, Geoffrey Young wrote:
hmm, that's interesting - I guess you're catching a VirtualHost _default_ setting?
If
so, there's probably not much you can do about it save something like
my $uri = Apache:URI-parse($r);
$uri-hostname($r-headers_in-get('Host'));
That did the
Banging my head against the wall a bit, 'cause this is just so simple, but
still not working:
Versions: Apache 1.3.22, mod_perl 1.26, perl 5.6.1
relevant lines from httpd.conf:
PerlWarn On
PerlModule Apache::PerlVINC
Location /dat-ajm6q
SetHandler perl-script