mp2: PerlSetVar not working?

2004-07-05 Thread Matthew Darwin
I can't figure out what I'm doing wrong. I'm trying to pass a value from httpd.conf to the module I know this used to work in mp1, but I can't seem to get it to work in mp2 Ideas? Thanks. httpd.conf -- PerlModule Apache::Foo SetHandler perl-script PerlResponseHandler Apache::Fo

Re: mp2: PerlSetVar not working?

2004-07-06 Thread Randy Kobes
On Mon, 5 Jul 2004, Matthew Darwin wrote: > I can't figure out what I'm doing wrong. I'm trying to pass a value > from httpd.conf to the module I know this used to work in mp1, but > I can't seem to get it to work in mp2 > > Ideas? > > Thanks. > > httpd.conf > -- > > PerlModule Ap

Re: mp2: PerlSetVar not working?

2004-07-06 Thread Matthew Darwin
The behaviour is consistantly wrong at least... [Tue Jul 06 18:38:36 2004] [notice] Apache/2.0.49 (Unix) mod_perl/1.99_14 Perl/v5.8.3 DAV/2 configured -- resuming normal operations [Tue Jul 6 18:38:42 2004] -e: Authd: Opening connection [Tue Jul 6 18:38:42 2004] -e: Use of uninitialized value i

Re: mp2: PerlSetVar not working?

2004-07-06 Thread Geoffrey Young
Matthew Darwin wrote: > The behaviour is consistantly wrong at least... > > [Tue Jul 06 18:38:36 2004] [notice] Apache/2.0.49 (Unix) > mod_perl/1.99_14 Perl/v5.8.3 DAV/2 configured -- resuming normal operations > [Tue Jul 6 18:38:42 2004] -e: Authd: Opening connection > [Tue Jul 6 18:38:42 200

Re: mp2: PerlSetVar not working?

2004-07-06 Thread Matthew Darwin
Ok, I removed this section of httpd.conf, I start seeing output from your script: $Location{"/nm"} = { AuthType => 'Basic', AuthName => '"' . $Kinnetics::Constants::LOGIN_PROMPT . '"', PerlAuthenHandler => 'Apache::Kinnetics::Authenticate', PerlAuthzHandler => 'Apache::Kinnetics::Authori

Re: mp2: PerlSetVar not working?

2004-07-06 Thread Geoffrey Young
Matthew Darwin wrote: > Ok, > > I removed this section of httpd.conf, I start seeing output from your > script: > > ... ok, that's a start :) there are really too many variables at this point for me to figure out what you are trying to do. if you could adjust t/conf/extra.conf.in in small i

Re: mp2: PerlSetVar not working?

2004-07-06 Thread Matthew Darwin
What is the output of that script supposed to look like? Without doing anything I have issues: [EMAIL PROTECTED]:~# tar -xzf perlsetvar-bug-mp2.tar.gz [EMAIL PROTECTED]:~# cd perlsetvar-bug-mp2 [EMAIL PROTECTED]:~/perlsetvar-bug-mp2# perl Makefile.PL Checking if your kit is complete... Looks goo

Re: mp2: PerlSetVar not working?

2004-07-06 Thread Randy Kobes
On Tue, 6 Jul 2004, Matthew Darwin wrote: > The behaviour is consistantly wrong at least... > > [Tue Jul 06 18:38:36 2004] [notice] Apache/2.0.49 (Unix) > mod_perl/1.99_14 Perl/v5.8.3 DAV/2 configured -- resuming normal > operations [ ... ] Does anything change if you disable DAV/2? -- best rega

Re: mp2: PerlSetVar not working?

2004-07-06 Thread Geoffrey Young
Matthew Darwin wrote: > What is the output of that script supposed to look like? Without doing > anything I have issues: > > [EMAIL PROTECTED]:~# tar -xzf perlsetvar-bug-mp2.tar.gz > [EMAIL PROTECTED]:~# cd perlsetvar-bug-mp2 tsk, tsk - logged in as root. good thing I didn't stick some nasty

Re: mp2: PerlSetVar not working?

2004-07-06 Thread Matthew Darwin
Nope. Turned off it is the same. I can upgrade to httpd-2.0.50 if that helps... I already have it compiled. Randy Kobes wrote: On Tue, 6 Jul 2004, Matthew Darwin wrote: The behaviour is consistantly wrong at least... [Tue Jul 06 18:38:36 2004] [notice] Apache/2.0.49 (Unix) mod_perl/1.99_14 Perl/v

Re: mp2: PerlSetVar not working?

2004-07-06 Thread Matthew Darwin
I know, being logged in as root is bad... however this is a test server... if anything goes bad, insert the cd and reboot and we're back in business in 20 minutes. Thanks for the suggestion, it still is not helping. I'm probably missing some config file or something. I build on a separate serv

Re: mp2: PerlSetVar not working?

2004-07-07 Thread Geoffrey Young
> [ error] configure() has failed: > find_apache_module: module name argument is required at > /kinnetics/component/httpd/site_perl/i386-linux-thread-multi/Apache/TestConfig.pm > line 702. hmm, this is strange - unrelated to the PerlSetVar issue, but an issue with Apache-Test for sure :) to c

Re: mp2: PerlSetVar not working?

2004-07-07 Thread Matthew Darwin
ok, it helps if you type 'axps' correctly on "perl Makfile.PL". Oops. Anyway, here is the result of the correct testing: [omit makefile and all that stuff] [EMAIL PROTECTED]:~/perlsetvar-bug-mp2# /kinnetics/component/httpd/bin/httpd -d /data1/system/root/perlsetvar-bug-mp2/t -f /data1/system/roo

Re: mp2: PerlSetVar not working?

2004-07-07 Thread Geoffrey Young
> Now, to make it fail: > put this on the end: > > > $Location{"/"} = { > AuthType => 'Basic', > AuthName => 'Foo', > PerlAuthenHandler => 'Apache::Kinnetics::Authenticate', > 'require' => 'valid-user' > }; > yeah, I see it now - it's the same (known) bug somebody was bitten by earlier

Re: mp2: PerlSetVar not working?

2004-09-20 Thread Geoffrey Young
Geoffrey Young wrote: >>Now, to make it fail: >>put this on the end: >> >> >>$Location{"/"} = { >> AuthType => 'Basic', >> AuthName => 'Foo', >> PerlAuthenHandler => 'Apache::Kinnetics::Authenticate', >> 'require' => 'valid-user' >>}; >> > > > yeah, I see it now - it's the same (known) bug