Re: Integration with Apache
Ahh, I realise now that JkMount is only available using mod_jk ... I really would like to keep mod_jk2, is there any way of configuring mod_jk2 as i described in my earlier posting? On 9/7/07, Edd Dawson [EMAIL PROTECTED] wrote: Thanks for the reply Chris. Should add that I'm coming at this not as the person who set it up, also configuring this is not my area of expertise (if you hadn't noticed!). within the httpd.conf and workers2.properties there are no references to JkMount, which i guess may be the issue, am i right in assuming that apache will be passing everything to tomcat? I've done some digging but i'm not all that clear on how or where JkMount should be fitted in to the config, can anyone give any pointers? cheers Ed On 9/6/07, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ed, Edd Dawson wrote: I have a server setup as follows: Apache [httpd] - mod_jk2 - tomcat Stop right there. Delete mod_jk2. Forget it ever existed (everyone else has). Install mod_jk. Okay, now go: There are a number of webapps served by tomcat: /ROOT - available on http://www.mydomainname.com/ /webapp2 -available on http://www.mydomainname.com/webapp2 /webapp3 - available on http://www.mydomainame.com/webapp3 Now this all works fine, but now I need to add a php forum site onto the server on the same domain name and have it served on http://www.mydomainname.com/forum Trouble is that I cannot for the life of me figure out how to configure this without moving my /ROOT webapp off the URL http://www.mydomainname.com/ and into a subdirectory. Why? Just don't map /forum/*.php to mod_jk. What do your JkMount directives look like? Can anyone confirm whether what I want to do is at all possible, and if so give any pointers as to where i need to be looking to configure it? I have all kinds of things happening with Apache httpd - mod_jk - Tomcat. You can map anything you want. Static content served by Apache httpd while dynamic stuff comes from TC? Of course. Multiple TC instances within the same URL space? Done. Some TC, some PHP, some CGI? Why not? It's all easy. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG4HWW9CaO5/Lv0PARAnvAAKCH7DLvm4JOWCMSqXyPvIf/PKUMjACgxC3A kHIVn0Uj2z+MEc0m8xDlnc8= =dTQG -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Integration with Apache
Thanks for the reply Chris. Should add that I'm coming at this not as the person who set it up, also configuring this is not my area of expertise (if you hadn't noticed!). within the httpd.conf and workers2.properties there are no references to JkMount, which i guess may be the issue, am i right in assuming that apache will be passing everything to tomcat? I've done some digging but i'm not all that clear on how or where JkMount should be fitted in to the config, can anyone give any pointers? cheers Ed On 9/6/07, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ed, Edd Dawson wrote: I have a server setup as follows: Apache [httpd] - mod_jk2 - tomcat Stop right there. Delete mod_jk2. Forget it ever existed (everyone else has). Install mod_jk. Okay, now go: There are a number of webapps served by tomcat: /ROOT - available on http://www.mydomainname.com/ /webapp2 -available on http://www.mydomainname.com/webapp2 /webapp3 - available on http://www.mydomainame.com/webapp3 Now this all works fine, but now I need to add a php forum site onto the server on the same domain name and have it served on http://www.mydomainname.com/forum Trouble is that I cannot for the life of me figure out how to configure this without moving my /ROOT webapp off the URL http://www.mydomainname.com/and into a subdirectory. Why? Just don't map /forum/*.php to mod_jk. What do your JkMount directives look like? Can anyone confirm whether what I want to do is at all possible, and if so give any pointers as to where i need to be looking to configure it? I have all kinds of things happening with Apache httpd - mod_jk - Tomcat. You can map anything you want. Static content served by Apache httpd while dynamic stuff comes from TC? Of course. Multiple TC instances within the same URL space? Done. Some TC, some PHP, some CGI? Why not? It's all easy. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG4HWW9CaO5/Lv0PARAnvAAKCH7DLvm4JOWCMSqXyPvIf/PKUMjACgxC3A kHIVn0Uj2z+MEc0m8xDlnc8= =dTQG -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Integration with Apache
Hi New to the list here :) I have a server setup as follows: Apache - mod_jk2 - tomcat There are a number of webapps served by tomcat: /ROOT - available on http://www.mydomainname.com/ /webapp2 -available on http://www.mydomainname.com/webapp2 /webapp3 - available on http://www.mydomainame.com/webapp3 Now this all works fine, but now I need to add a php forum site onto the server on the same domain name and have it served on http://www.mydomainname.com/forum Trouble is that I cannot for the life of me figure out how to configure this without moving my /ROOT webapp off the URL http://www.mydomainname.com/ and into a subdirectory. Can anyone confirm whether what I want to do is at all possible, and if so give any pointers as to where i need to be looking to configure it? Thanks Ed