Re: [EMAIL PROTECTED] force 404 error

2006-02-15 Thread Uk1ah Sm1th
RewriteRule and a RewriteCond in a manner like this > RewriteCond %{REQUEST_URI} .svn > RewriteRule ^(.*)$ 404.html > > Oli I thinks this is what I'm looking for. Could it be put inside a DirectoryMatch item? RewriteCond .* RewriteRule ^(.*)$ /errors/404.html thanks

Re: [EMAIL PROTECTED] force 404 error

2006-02-15 Thread Uk1ah Sm1th
On Wed, Feb 15, 2006 at 04:54:51PM +0100, [EMAIL PROTECTED] wrote: > ErrorDocument 403 /path/to/errorfile/404.html > see > http://httpd.apache.org/docs/2.0/custom-error.html > > bye I am not looking for how to make custom error pages. I am looking for a way to change a http response from 200 t

[EMAIL PROTECTED] force 404 error

2006-02-15 Thread Uk1ah Sm1th
I want to know if it is possible to force a 404 error even when a file or directory exist. I manage my website using svn. I pull a working copy into my htdocs directory. This also creates .svn directorys with svn meta data. Right now they return 403 forbiden. However I would like it if they could r