Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: Dev

Apache::Test problem

 

 

ModPerl dev RSS feed   Index | Next | Previous | View Threaded


torsten.foertsch at gmx

Jun 30, 2008, 9:41 AM

Post #1 of 2 (1633 views)
Permalink
Apache::Test problem

Hi,

I have mod_proxy_html in my httpd.conf. This requires an additional LoadFile
directive to load libxml prior to LoadModule. Unfortunately the httpd.conf
generated by the test framework includes the "LoadModule mod_proxy_html" but
omits the "LoadFile libxml.so".

I can solve this problem by adding mod_proxy_html to the skip list in TEST.PL:

Apache::TestConfig::autoconfig_skip_module_add('mod_proxy_html.c');

But I cannot know all modules that need special LoadFiles that a user of my
perl module may load.

How is this situation resolved best?

Torsten

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe [at] perl
For additional commands, e-mail: dev-help [at] perl


geoff at modperlcookbook

Jun 30, 2008, 10:05 AM

Post #2 of 2 (1479 views)
Permalink
Re: Apache::Test problem [In reply to]

Torsten Foertsch wrote:
> Hi,
>
> I have mod_proxy_html in my httpd.conf. This requires an additional LoadFile
> directive to load libxml prior to LoadModule. Unfortunately the httpd.conf
> generated by the test framework includes the "LoadModule mod_proxy_html" but
> omits the "LoadFile libxml.so".
>
> I can solve this problem by adding mod_proxy_html to the skip list in TEST.PL:
>
> Apache::TestConfig::autoconfig_skip_module_add('mod_proxy_html.c');
>
> But I cannot know all modules that need special LoadFiles that a user of my
> perl module may load.
>
> How is this situation resolved best?

it looks like we never accounted for LoadFile.

we probably want to add LoadFile logic alongside LoadModule in
TestConfigParse.pm

the win32 users should then test it out - we have LoadFile stuff in
TestConfigPerl for win32-specific foo that we'll not want to wreck.

--Geoff


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe [at] perl
For additional commands, e-mail: dev-help [at] perl

ModPerl dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.