On 10 July 2010 16:06, Aaron Lewis <[email protected]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
> B  B  B  B I'm trying to configure apache like this: when pages were not
found on
> server , it returns a document moved message (301 or 302) , rather than
> a 404 error.
>
> B  B  B  B So i put those:
>
> B  B  B  B  B  B  B  B ErrorDocument 404 /error.html
> B  B  B  B  B  B  B  B Rediret 302 /error.html http://my.host/
>
> B  B  B  B But still , it's a 404 error , additionally , a 302 Found error
was
> encountered while trying to handle the request.
>
> B  B  B  B Any ideas will appreciate , thanks !
>

Apart from the suggestion to check the spelling from Peter, you might
also think of putting a javascript-based redirect in your custom
error-404.html
This is not the-best-way-to-do-it, because it won't work if you have
js disabled or not present at all, but it's very simple and might
serve your need.

--
The best the little guy can do is what
the little guy does right

Reply via email to