prompting for secure data during startup.pl

2003-03-03 Thread Aaron J Mackey
:)); __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

getting at http.conf from startup.pl

2003-03-03 Thread Aaron J Mackey
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

pass-thru/redirect/DECLINE to *.jpg

2002-12-17 Thread Aaron J Mackey
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

RE: automatic redirect to https

2002-05-14 Thread Aaron J Mackey
://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

automatic redirect to https

2002-05-13 Thread Aaron J Mackey
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

Re: automatic redirect to https

2002-05-13 Thread Aaron J Mackey
. -Aaron -- Aaron J Mackey Pearson Laboratory University of Virginia (434) 924-2821 [EMAIL PROTECTED]

Re: automatic redirect to https

2002-05-13 Thread Aaron J Mackey
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

PerlVINC and Can't locate Foo.pm in @INC ...

2002-05-10 Thread Aaron J Mackey
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