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, Jun 16, 2011 at 6:09 PM, Michael Wright
<mich...@mwwebsolutions.com> wrote:
> <VirtualHost *:80>
> ServerName cfusion.local
> # We need to specify the Document Root as we are only proxying .cf* files to
> Tomcat, therefore keeping
> # all static files served by Apache
> DocumentRoot "C:/Websites"
> DirectoryIndex index.cfm
> <Location />
>     Order allow,deny
>     Allow from All
> </Location>
> # Only allow proxing from 127.0.0.1
> <Proxy *>
>     Order Deny,Allow
>     Deny from all
>     Allow from 127.0.0.1
> </Proxy>
> # We need the ProxyPreserveHost if we are using multiple VHosts
> ProxyPreserveHost On
> # Only Proxy .cfc and .cfm files
> ProxyPassMatch ^/(.+\.cf[cm])(/.*)?$ ajp://localhost:8009/$1$2#
> # Need these two lines to maintain sessions
> ProxyPassReverseCookieDomain / /
> ProxyPassReverseCookiePath / /
> # Configure logging
> ErrorLog "logs/cfusion-error.log"
> CustomLog "logs/cfusion-access.log" common
> </Vi

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345381
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to