tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: mixed html and jsp site using ProxyPass
Date Fri, 05 Dec 2008 16:19:14 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David,

David Goodenough wrote:
>   ProxyPass ajp://127.0.0.1:8009/jsp
Can't you do something like this:

ProxyPass (/*.jsp) ajp://127.0.0.1:8009/jsp$1

??

This is one of the reasons that I like using mod_jk: there's actual
documentation for how to use it. The best I can find for mod_proxy_ajp
is http://httpd.apache.org/docs/2.2/mod/mod_proxy.html

With mod_jk, the setup or URLs is obvious:

JkMount *.jsp tomcat

Of course, you have to define the "tomcat" worker, which is less
straightfoward, but you can get away with this:

JkWorkerProperty worker.list=tomcat
JkWorkerProperty worker.tomcat.port=8009

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkk5VIIACgkQ9CaO5/Lv0PBONgCghICuIwsZD4gF7sKY+i/KxcEj
SBAAn2zvD64SFBn58LYA8nAn9/OdkaXy
=QnxS
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message