You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by James Bond <ja...@hotmail.com> on 2003/06/02 10:42:30 UTC

[users@httpd] apache 2 and rewrite external program

Hi,
Is it possible to execute a java external program with rewrite rules? At the 
moment, I can execute a perl program with rewritemap to get a approprate URL 
from the list like this:

RewriteMap    lb      prg:/export/apps/apache/2.0.45/conf/lb.pl
RewriteRule   ^/(.*)$ ${lb:$1}           [P,L]
Proxypassreverse  /  ${lb:$1}


Can i run a jsp page instead of perl program to do the same thing?

Thanks
Jerry

_________________________________________________________________
Tired of 56k? Get a FREE BT Broadband connection 
http://www.msn.co.uk/specials/btbroadband


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org