[...]
> I tried to use mod_jk to connect apache with tomcat. Everything works
> ok when apache and tomcat are on the same machine, but I want to
> connect tomcat to Apache on diffrent machine. Is it possible? How can
> I do it, or where can I read about it?
Look at workers.properties file (actually for file that is pointed by
JkWorkersFile). Inside you'll have (besides other stuff) a line that looks
like that:
worker.[worker_name].host=localhost
..with [worker_name] beeing by default something like ajp12 or ajp13.
All you have to do is to change localhost to name of the host tomcat is
running on, like this
worker.(worker_name).host=host.domain.com
Please read mod_jk HOWTO if in doubt.
--
Jacek Prucia
7bulls.com S.A.