You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Torsten Foertsch <to...@gmx.net> on 2008/06/30 18:41:36 UTC

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@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: Apache::Test problem

Posted by Geoffrey Young <ge...@modperlcookbook.org>.

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@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org