httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
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:

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     mod_perl Guide --->

View raw message