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, Sean Corfield <[email protected]>wrote:

>
> 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
> <[email protected]> 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:345382
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to