Ideas?
Thanks.
httpd.conf ----------
PerlModule Apache::Foo <Location /nm/foo> SetHandler perl-script PerlResponseHandler Apache::Foo PerlSetVar FooValue FooBarBaz </Location>
Apache/Foo.pm -------------
package Apache::Foo;
use Apache::Const -compile => ':common'; use Apache::ServerUtil ();
sub handler { my ($r) = @_;
warn "Value of Foo is 1: ", $r->server->dir_config ("FooValue"), "\n"; warn "Value of Foo is 2: ", $r->dir_config ("FooValue"), "\n";
return Apache::DECLINED; }
httpd.error
-----------
[Mon Jul 05 20:13:12 2004] [notice] Apache/2.0.49 (Unix) mod_perl/1.99_14 Perl/v5.8.3 DAV/2 configured -- resuming normal operations
[Mon Jul 5 20:13:12 2004] -e: Authd: Opening connection
[Mon Jul 5 20:13:12 2004] -e: Use of uninitialized value in warn at .../site_perl/Apache/Foo.pm line 9, <GEN0> line 2.
[Mon Jul 5 20:13:12 2004] -e: Value of Foo is 1:
[Mon Jul 5 20:13:12 2004] -e: Use of uninitialized value in warn at .../site_perl/Apache/Foo.pm line 10, <GEN0> line 2.
[Mon Jul 5 20:13:12 2004] -e: Value of Foo is 2:
[Mon Jul 05 20:13:12 2004] [error] [client 1.2.3.4] File does not exist: .../htdocs/nm/foo
-- Matthew Darwin [EMAIL PROTECTED] http://www.mdarwin.ca
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html