It's been a while (and even then, most were done with the .htaccess file and
allowoverides turned on) but have you tried just putting the ErrorDocument
in your particular Virtaul host block...

<VirtualHost www.mysite.com>

   ServerName www.mysite.com
   ServerAdmin [EMAIL PROTECTED]
   DocumentRoot /path/to/www/mysite.com
   ErrorDocument 404 /404.cfm

</VirtualHost>

You should be able to call up any page for any error number that way (I
think)

If that doesn’t work, let me know and I'll set one up and try and figure it
out with you.

..:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com


-----Original Message-----
From: Jennifer Gavin-Wear [mailto:[EMAIL PROTECTED] 
Sent: Sunday, November 27, 2005 7:34 PM
To: CF-Talk
Subject: RE: Apache Virtual Hosts

Or can it be done with a missing template handler?

If so, I can only see how it could be done to have one file deal with the
error handling for all sites, whereas I only want it done this way on the
one site.


-----Original Message-----
From: Jennifer Gavin-Wear [mailto:[EMAIL PROTECTED]
Sent: 28 November 2005 00:19
To: CF-Talk
Subject: OT: Apache Virtual Hosts


Very off topic here ..

I'm running several sites on Apache 2 on Windows 2000.

Having just updated a site I need to redirect 404 errors for those who have
bookmarked old pages and are still trying to access them.

Reading the docs it appears that directives can be placed inside the virtual
host configuration, but I'm a tad confused as the docs also talk about
needing .htaccess.

Can someone put me right please?

Thanks,

Jenny








~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225349
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to