Hi, I'm trying to get requests of the form http://server/ServletName/extraPath/example.html?query (internally) forwarded to http://server/servlet/ServletName/extraPath/example.html?query in my Apache webserver. Tomcat is up and running smoothly and the second URL already works. Forwarding /ServletName to TomCat is easy through JkMount, but it doesn't seem to work when trying to forward extra path info. In essence JkMount /ServletName ajp12 would be have to be changed to JkMount /ServletName/* ajp12 but this obviously didn't work.
I can't find any reference to the actual syntax used by JkMount, but I suspect it might not be suffcient to handle this kind of forwarding. Another option would be to work with the rewrite module in Apache, which I've tried with: <IfModule mode_rewrite.c> RewriteEngine on RewriteLog logs/rewrite.log RewriteLogLevel 9 RewriteRule /ServletName(.*) /servlet/ServletName$1 [PT] </IfModule> and a couple of variants on the last line. Oddly enough, the rewrite.log file is nowhere to be found... And again no succes. The rewrite module and the proxy module are being loaded (is there a way to test this?) with both LoadModule and AddModule commands. I've seen similar questions and solutions here and there, but none of which adresses the extra path info. It would be very interesting to get this working, this way it would be possible to completely hide a server side implementation. Thanks in advance! Thomas -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
