httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject A-T: include resolution in httpd.conf
Date Tue, 18 Nov 2003 22:53:25 GMT
As mentioned before A-T doesn't handle properly absolute Include paths, consider:

httpd.conf
----------
...
Include "/home/httpd/2.0/perl/tutorial.conf"

% t/TEST -conf
setting ulimit to allow core files
ulimit -c unlimited; t/TEST -conf
configuration file 
/home/stas/httpd/prefork/"/home/httpd/2.0/perl/tutorial.conf" does not exist
cleaning out current configuration
reconfiguration done

besides the fact that /home/httpd/2.0/perl/tutorial.conf does exist, the code 
is not aware that optional quotes can be used when it tries to concat it to 
the ServerRoot dir. so we probably need to do:

  $path =~ s/^\s*["']?|["']?\s*$//g;

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Mime
View raw message