On Tuesday, Jun 24, 2003, at 13:17 US/Pacific, Barney Boisvert wrote:
> Interesting, I'd never thought of doing it with mod_rewrite. That
> module is
> amazing. Damn confusing sometimes, but amazing none the less. Have
> to play
> with doing it that way.
It's a very powerful module - it can conditionally set cookies,
conditionally rewrite URLs, proxy requests, set Apache environment
variables...
> As for the XML file to allow files outside the approot, any idea what
> file
> it might be? I didn't see anything even remotely promsising on my
> cursory
> scan of the XML files in the web root. It seems like it should be a
> CF-related file, rather than one pertaining to the underlying J2EE
> server,
> but I could be way off base.
WEB-INF/jrun-web.xml is where you would normally add:
<virtual-mapping>
<resource-path>/</resource-path>
<system-path>/Users/scorfiel/Sites</system-path></virtual-mapping>
I don't know what the equivalent is for Tomcat.
Sean A Corfield -- http://www.corfield.org/blog/
"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics.
http://www.fusionauthority.com/signup.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4