Results 1 to 2 of 2
I currently have FC4 running with apache and iam desinging a webpage wherein some parts of the code are in PHP and and some files in JSP. Ho wdo i ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-03-2006 #1
- Join Date
- Sep 2005
Running JSP with apache
I currently have FC4 running with apache and iam desinging a webpage wherein some parts of the code are in PHP and and some files in JSP. Ho wdo i run them simulatenously.
I have tried doing with TOMCAT but !im clearly not able to grasp how it all comes togetehre ! can someone explain how it happens ?
- 03-03-2006 #2
check that link
also this google search
basically the way it works is apache is the front end, all web requests hit apache, if its html or php apache tells itself to serve the page, if its jsp apache hands it off (using mod_jk connector) to tomcat on port 8080. the user isn't connecting to port 8080 but instead still connecting to apache on port 80 and apache is doing the leg work to get to tomcat.
it works very nice. depending on your distro, if its debian based try
#apt-cache search mod_jk2
if redhat based try yum search mod_jk2
otherwise check the docs above, its not to terribly difficult to install from source.