From: Jost B. <jos...@ya...> - 2005-11-05 13:54:37
|
Hi Kevin, > I'm attempting to set up the php-java-bridge in the > "load balancing > and failover" approach. What access does Apache > need to have to the > .php files in my project? It should work if you symlink the tomcat webapps directory into the apache document root or if you "jk mount" it. It's just that apache must be able to allocate and to invoke a php instance from its pool. > *install warfile > *access http://myhost/JavaBridge/numberguess.php Yes. If /var/www/html/JavaBridge/numberguess.php exists. > Or do I need to grant apache access to that > directory, and map > JavaBridge/**.php to the webcontent/JavaBridge > directory? jk mounting it is is also possible, but slower. When you mount a file or directory using mod_jk, the adapter "copies" the content of the file or directory from the tomcat dir to the apache dir at run-time. So I would just symlink the $CATALINA_HOME/webapps/JavaBridge to /var/www/html/htdocs/. BTW: If you have RedHat FC4, the tomcat webapps and the apache htdocs are shared by default, mod_jk is not needed anymore. Regards, Jost Boekemeier ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de |