Re: Proxying Apache to Tomcat For CF9

2011-06-17 Thread Sean Corfield
On Thu, Jun 16, 2011 at 9:19 PM, Michael Wright mich...@mwwebsolutions.com wrote: Ahh ok I see now :) Basically its failing because the webroot I'm trying to use doesnt have the WEB-INF right? Yup. Would my idea of all 3 engines sharing a webroot on JRun work then? No. Railo and OpenBD are

Re: Proxying Apache to Tomcat For CF9

2011-06-17 Thread Michael Wright
Thanks for all your help Sean. I've got ACF and Railo running now together on jrun using the same webroot so that will do. And yes you are very right about ACF :) On Fri, Jun 17, 2011 at 7:24 AM, Sean Corfield seancorfi...@gmail.comwrote: On Thu, Jun 16, 2011 at 9:19 PM, Michael Wright

Proxying Apache to Tomcat For CF9

2011-06-16 Thread Michael Wright
Hi, I'm experimenting with running CF on Tomcat and having a bit of a problem getting the proxying set up. I've been using http://www.web-rat.com/blog/post.cfm/installing-railo-on-tomcat-the-windows-edition and

Re: Proxying Apache to Tomcat For CF9

2011-06-16 Thread Michael Wright
I've changed ProxyPassMatch to ProxyPassMatch ^/(.+\.cf[cm])(/.*)?$ ajp://localhost:8009/cfusion/$1$2 and now have CF serving up the 404's instead of Tomcat. On Fri, Jun 17, 2011 at 2:09 AM, Michael Wright mich...@mwwebsolutions.comwrote: Hi, I'm experimenting with running CF on Tomcat and

Re: Proxying Apache to Tomcat For CF9

2011-06-16 Thread Sean Corfield
Try adding this first: ProxyPassReverse / ajp://localhost:8009/ If that doesn't work, try the following... I've never used ProxyPassMatch - I use a RewriteRule with proxying. Take a look at this blog entry: http://corfield.org/blog/post.cfm/Railo_for_Dummies_Part_IV_Appendix Sean On Thu,

Re: Proxying Apache to Tomcat For CF9

2011-06-16 Thread Michael Wright
Still no success having tried those, but thinking about it I'm guessing the proxying side of it must be working as its CF's 404 template I'm getting. That's leading me to think it's more to do with context and docbase, so going to have a play with server.xml. On Fri, Jun 17, 2011 at 2:33 AM,

Re: Proxying Apache to Tomcat For CF9

2011-06-16 Thread Sean Corfield
Make sure localhost:8080/cfusion/ is working as expected. That way you can verify the Tomcat configuration is right. _Then_ worrying about connecting Apache. Since you're using a context on Tomcat /cfusion you'll need that in both the proxy forward and proxy reverse. Depending on your level of

Re: Proxying Apache to Tomcat For CF9

2011-06-16 Thread Michael Wright
Where I've got to at the moment is that I'm getting the 404's because Tomcat is looking in the webapps/cfusion folder for the files rather than my own webroot. What I'm ultimately wanting to acheive is being able to have CF, Railo OpenBD all running under Tomcat but sharing the one webroot and

Re: Proxying Apache to Tomcat For CF9

2011-06-16 Thread Sean Corfield
You're not showing us your Tomcat server.xml so it's kinda hard to debug this :) I suspect the problem is you don't have your Host / Context set up correctly... Bear in mind that Tomcat, being a _standard_ Servlet container (unlike JRun) requires that the web application (the WEB-INF/ stuff) be

Re: Proxying Apache to Tomcat For CF9

2011-06-16 Thread Michael Wright
Ahh ok I see now :) Basically its failing because the webroot I'm trying to use doesnt have the WEB-INF right? Would my idea of all 3 engines sharing a webroot on JRun work then? On Fri, Jun 17, 2011 at 5:04 AM, Sean Corfield seancorfi...@gmail.comwrote: You're not showing us your Tomcat