> > > You should be able to do that using an .htaccess file.
> > > Something like this should do:
> > >
> > > RewriteEngine on
> > > RewriteCond %{REQUEST_FILENAME} !-f
> > > RewriteRule ^(.*)?$ 404.cfm?page=%{REQUEST_URI} [QSA,L]
> >
> > Interesting. When I tried this, however, I got a bad request
> > error (for missing CFM and missing html). Is this only
> > supported in a certain version of Apache?
>
> Actually, I get bad request errors for -any- request
> now on this virtual server.
Strange... I've tested it on the following versions/Oss and it works
every time:
Linux: Apache/1.3.27
Linux: Apache/2.0.43
Windows: Apache/2.0.54
What does it say in the error log?
Tim.
--
-------------------------------------------------------
TB: http://tim.bla.ir/ Tech: http://tech.badpen.com/
-------------------------------------------------------
RAWNET LTD - independent digital media agency
"We are big, we are funny and we are clever!"
http://www.rawnet.com/
-------------------------------------------------------
This message may contain information which is legally
privileged and/or confidential. If you are not the
intended recipient, you are hereby notified that any
unauthorised disclosure, copying, distribution or use
of this information is strictly prohibited. Such
notification notwithstanding, any comments, opinions,
information or conclusions expressed in this message
are those of the originator, not of rawnet limited,
unless otherwise explicitly and independently indicated
by an authorised representative of rawnet limited.
-------------------------------------------------------
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to
[email protected] with the words 'unsubscribe cfcdev' as the subject of the
email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
(www.cfxhosting.com).
An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]