httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrea" <palmi...@eng.it>
Subject [users@httpd] RewriteMap odd behaviour
Date Thu, 19 May 2005 16:40:30 GMT
I' am using RewriteMap to do LoadBalancing... 
in my httpd.conf I've written
.....
RewriteMap lb prg:/usr/local/apache2/conf/lb.pl
RewriteRule ^/webconsole http://dartagnan/${lb:webconsole}
.....

but as soon as I start Apache I get in my error.log

Can't open perl script "
": No such file or directory
[Thu May 19 18:20:21 2005] [notice] Apache/2.0.53 (Unix) mod_ssl/2.0.53 OpenSSL/0.9.7g mod_perl/1.999.21
Perl/v5.8.0 configured -- resuming normal operations

It seems like the lb.pl is not present.. but it is do present ...and I made lb.pl executable
( "chmod 777 lb.pl").

My environment: 
Apache/2.0.53 (Unix) 
mod_ssl/2.0.53 
OpenSSL/0.9.7g 
mod_perl/1.999.21 
Perl/v5.8.0


Any help would be appreciated
Thanks
Mime
View raw message