httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: [patch] allow t/conf/foo.pl.in to be autoconfigured
Date Tue, 13 Nov 2001 02:43:45 GMT
Doug MacEachern wrote:

> On Tue, 13 Nov 2001, Stas Bekman wrote:
> 
> 
>>in order to test RegistryLoader (unreleased yet) I need to add an extra
>>startup.pl file, and I need the autoconfiguration's @ServerRoot@ token to
>>work in this new file. This patch allows to drop into t/conf any file
>>ending with .in (foo.bar.in) and it'll be converted into foo.bar and run
>>through tokens substitution. If the file is .conf it will be automatically
>>loaded via Include, .pl via PerlRequire.
>>
> 
> i wouldn't mind *.in.  but the right solution to your particular problem
> is to use Apache::server_root_relative() instead of @ServerRoot@

that works. So should I commit the *.in patch or wait until next time we 
need it? I think this can be useful for other projects using Apache::Test.

_____________________________________________________________________
Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker
http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
mailto:stas@stason.org  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/


Mime
View raw message