Hracek, Petr wrote:
I don't think that there was ever a mod_jk version 3.2.1. Where did you get that version number from ? The current version is 1.2.28.Hello all,In my system I would like to enable servlets on my system butunfortunatelly I found two ways of these functionality.First case::mod_proxy_ajp Second case: mod_jk connector.For first case I have question if the servlets are stored in/opt/pm/servlet directory what is correct syntax used in configuration file of apache 2.2? How it should look like ProxyPass and ProxyPassReverse?I have been using mod_jk (Version 3.2.1) with apache 1.3There were several directives as JkMount, JkWorkersFileJkLogLevel. Are these directives working for the latest mod_jk connector as well?
Start by having a look at the on-line documentation : http://tomcat.apache.org/connectors-doc/Apache (httpd) does not run servlets. Tomcat does. Where the servlets are stored on disk and what they do and how they do it, is not a concern of Apache, but of Tomcat. So, in any case, the first step would be to set up Tomcat, then check if your servlets work properly when accessing Tomcat directly from the browser (presumably on port 8080 or so). (Make a note of the URLs you use to access the servlets, but that is something you will need, to configure the connector.)
When that is working, then you can start thinking about how to go through Apache, and an Apache/Tomcat connector, to access those same servlets. You will have to choose a connector. If you have used mod_jk before, then I would recommend to stick with it, there will be less surprises. Basically the configuration is identical for Apache 2.2.x as it was for 1.3.x.
--------------------------------------------------------------------- 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