httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bj <bjkh...@gmail.com>
Subject Re: [users@httpd] ErrorDocument 404 redirect with server response code issue
Date Thu, 30 Aug 2007 15:56:02 GMT
Why don't you use an 404 html page with an automatique redirection to your
home ?

-- 
Bj

On 8/30/07, Jeff Peng <jeffpeng@gmx.net> wrote:
>
>
> -------- Original-Nachricht --------
> > Datum: Thu, 30 Aug 2007 11:45:05 -0400
> > Von: "Steve Finkelstein" <sf@stevefink.net>
> > An: users@httpd.apache.org
>
> > I'd send like use proper headers, send a 404 to the client, then
> redirect
> > them to my base URL.
> >
> > Is this possible? Should I resort to mod_rewrite versus ErrorDocument?
> >
>
>
> I don't think it's possible.Once you send 404,you don't have chance to
> send 30x for redirection again.
> --
> Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
> Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
>
> ---------------------------------------------------------------------
> 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: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Mime
View raw message