Yes, PHP and CFM *can* work in the same directories - you just have to watch what's serving it.

The proxypass method basically uses Tomcat's internal web server directly - but it doesn't have a PHP interpretor in it. Instead PHP should be handled by Apache, which does have a php interpretor, and which is where the mod_jk method that the installer uses comes in handy. The "Single Instance Install" documentation I sent earlier is basically what the installer does for you, and the end result will get you the php/cfm compatibility you're looking for.

Further, you *can* use the proxypass method to serve both CFM's and PHP's from the same directory, but you will need to use RegEx's to tell the proxy pass commands to only send CFM stuff to the proxy connection.

Hope this helps!


Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
Open BlueDragon Steering Committee
Railo Community Distributions


tom thomas wrote:
yes that works if you only want to serve cfm pages. After a lot of experimentation I have come to the conclusion that php and cfm can not live in the same directory. The only way I could get cf to work was to explicitly write a proxypass for that directory. Otherwise it was php.

I haven't tried it but I bet what you have below would work for site wide cf applications.

Tom Thomas

At 12:51 PM 4/12/2010, you wrote:
I've never used proxypass, but it seems logical to me that the following might work:

   ProxyPass / http://bupwp.com:8888/
   ProxyPassReverse / http://bupwp.com:8888/


Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
Open BlueDragon Steering Committee
Railo Community Distributions

--
Open BlueDragon Public Mailing List
http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon
mailing list - http://groups.google.com/group/openbd?hl=en
!! save a network - please trim replies before posting !! To unsubscribe, reply using "remove me" as the subject.

--
Open BlueDragon Public Mailing List
http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
mailing list - http://groups.google.com/group/openbd?hl=en

!! save a network - please trim replies before posting !!

Reply via email to