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:[EMAIL PROTECTED]  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/



Reply via email to