On Aug 4, 1:28 pm, nkosi <glenrainb...@gmail.com> wrote:

> We have set up 'multiserver' Tomcat but we cannot figure out how we
> can get our CF sites to run without requiring WEB-INF [and CFIDE] in
> the root of our sites. This basically means our CF Admin is browsable
> via our web site which is not what we want. It may also mean we have
> to consider how we rollout our site code given there will already be 2
> folders in the site root.

I have no experience at all with IIS or Windows servers, but with
Apache I *think* you could do something like the following, and I'd be
surprised if IIS doesn't allow it also.

What if you if you did something like this:

Put the exploded coldfusion war file wherever you want (I'll assume c:
\tomcat-apps\application1\cfusion.war\)

In tomcat's server.xml:

<Host name="application1.something.whatever" appBase="c:\tomcat-apps
\application1\cfusion.war"/>

Then if you can use a symbolic link (is there a way to do this in
windows?) to your app code.  So you'd have something like:

c:\tomcat-apps\application1\cfusion.war
c:\tomcat-apps\application1\cfusion.war\CFIDE
c:\tomcat-apps\application1\cfusion.war\WEB-INF
c:\webapps\app1\cfusion\app <----- sym link to c:\Sites\Application1\

Then if you can configure IIS proxy anything to 
http://application1.something.whatever/*
to http://application1.something.whatever:<tomcat-port>/app/* it might
work?

Under that config you should only be able to access CFIDE directly via
http://application1.something.whatever:<tomcat-port>/CFIDE/administrator

Don't quote me on it, I haven't tried it, but it is an approach I
think may work...

It'll be interesting to see how Adobe handle multi site installs and
virtual hosts when they move to Tomcat.

Andrew.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.

Reply via email to