> > From: chitra alavani <[EMAIL PROTECTED]>
> Subject: [PLUG] php on tomcat
> Date: Sun, 8 May 2005 22:13:29 -0700 (PDT)
> To: plug-mail@plug.org.in
> 
> hello
> my wesite is running on tomcat. now i want to add some
> php pages to that site. i would like to know how to
> configure php-4.3.3 with tomcat on redhat 8/9
> 
> chitra

Hi,

This can be done through the Apache jk/jk2 connector config file if you are
using Apache/Tomcat implementation. Standalone Tomcat cannot handle this.

In the JK2 config file, workers(2).properties (usually in /etc/httpd/conf
directory) you need to specify which files are handled by tomcat and which
should be handled by apache.
Change the uri for your site to something like:

[uri:/examples/*.jsp]
worker=ajp13:sslaptop.gsss.net:8001 
info=jsp files 

This will tell the server to pass all jsp requests to tomcat.
But it will put a limitation that you will not be able to call any servlets
through your html and php files. Only jsp will be able to invoke a servlet.

-Saurabh

>               
> Discover Yahoo! 
> Have fun online with music videos, cool games, IM and more. Check it out! 
> http://discover.yahoo.com/online.html
> 
> > --
> ______________________________________________________________________
> Pune GNU/Linux Users Group Mailing List:      (plug-mail@plug.org.in)
> List Information:  http://plug.org.in/mailing-list/listinfo/plug-mail
> Send 'help' to [EMAIL PROTECTED] for mailing instructions.





________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony
--
______________________________________________________________________
Pune GNU/Linux Users Group Mailing List:      (plug-mail@plug.org.in)
List Information:  http://plug.org.in/mailing-list/listinfo/plug-mail
Send 'help' to [EMAIL PROTECTED] for mailing instructions.

Reply via email to