Reading configuration problem under mod_perl2

2002-11-24 Thread Yuriy Syrota
Hello, folks.

I'm porting apache module (from version 1 to version 2) and got the
following problem:

The module can't read itself configuration from httpd.conf.
I traced out ap_find_command_in_modules() in httpd and realized that in
this function
modules list doesn't contain my module's entry. Although httpd calls my
per-server
configuration creator.

How can it be?

-- Yuriy Syrota




Re: Reading configuration problem under mod_perl2

2002-11-24 Thread Stas Bekman
Yuriy Syrota wrote:

Hello, folks.

I'm porting apache module (from version 1 to version 2) and got the
following problem:

The module can't read itself configuration from httpd.conf.
I traced out ap_find_command_in_modules() in httpd and realized that in
this function
modules list doesn't contain my module's entry. Although httpd calls my
per-server
configuration creator.

How can it be?


Just to make things clear, does this happen when you load modperl and 
works fine without it?



__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com