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
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
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
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
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
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
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
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
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
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
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
> [ 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
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
> 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
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
15 matches
Mail list logo