That’s more or less what I was about to say. It seems that when the
extension is cfm, CF takes over and coughs up its missing template handler.
Without some *shivers* url rewrites in apache, I don’t see (right off) any
other way to do it than what James said. But it should definitely work.
 
..:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com


-----Original Message-----
From: James Holmes [mailto:[EMAIL PROTECTED] 
Sent: Sunday, November 27, 2005 8:42 PM
To: CF-Talk
Subject: Re: Apache Virtual Hosts

All CF pages share the one common missing template handler, not the
Apache one specified in the VHost.

If you have control over the server, create your own missing tempalte
handler in which you examine the CGI.HTTP_HOST variable; this says
which vhost domain was called and you can cflocation as necessary.

On 11/28/05, Jennifer Gavin-Wear <[EMAIL PROTECTED]> wrote:
> I tried it on a devel site I'm using.
>
> with
> http://sleev-it.fasttrackonline.co.uk/rubbish.html
> I get the 404 redirect just fine, and to a cfm page.
> with
> http://sleev-it.fasttrackonline.co.uk/rubbish.cfm
> I get a cf error and no redirect.
>
> Not having a problem with cfincludes, it's web page name changes and
> deletions.  I've got people trying to access the old names and I'd just
like
> to be able to point them to the home page.
>
> Just about all my files are cfm.
>

--
CFAJAX docs and other useful articles:
http://jr-holmes.coldfusionjournal.com/



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225359
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to