On 5/19/05, Andrea <palmieri@xxxxxx> wrote: > > 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"). I can't provide much help, but I can tell you that that likely is *not* an apache-generated error message. Apache knows nothing in specific about perl scripts (versus any other type of executable), and I don't recognize that error message at all. Hence I would guess that the error is coming from perl itself when it tries to execute the script. Joshua. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx