>Right now they return 403 forbiden In your first post you talked of a HTTP_FORBIDDEN (403) not from a HTTP_OK (200)
With
ErrorDocument 403 404.html
you send each user which gets a HTTP_FORBIDDEN (403) your HTTP_NOT_FOUND page
> I am looking for a way to change a http response from 200 to 404
This is new and cannot be covered alone by the thing above
Here should help a RewriteRule and a RewriteCond in a manner like this
RewriteCond %{REQUEST_URI} .svn
RewriteRule ^(.*)$ 404.html
Oli
-----Ursprüngliche Nachricht-----
Von: Uk1ah Sm1th [mailto:[EMAIL PROTECTED]
Gesendet: Mi 15.02.2006 17:20
An: [email protected]
Betreff: Re: [EMAIL PROTECTED] force 404 error
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 to 404. I have some directorys
that exist on my server, .svn directorys. When a user types in
http://example.com/.svn the NORMALLY get a 200 response and the file.
This is because the .svn directory is there and readable. I want a
user to recieve a 404 file not found INSTEAD of the 200, without me
having to manually delete the .svn directorys.
I don't want users to even know that the .svn directorys exist.
Thanks .U
--
"Well done is better than well said."
- Benjamin Franklin (1706-1790)
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<<winmail.dat>>
--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
