Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Feb 1999 13:22:41 -0600
From:      Brian McGowan <slipmat@ciai.net>
To:        Dennis <dennis@etinc.com>
Cc:        isp@FreeBSD.ORG
Subject:   Re: Apache Question
Message-ID:  <36C1DC81.5E528FEA@ciai.net>
References:  <199902101851.NAA15119@etinc.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Do this...
In your srm.conf put
ErrorDocument 404 /error.html

then create error.html with a message and a meta tag to refresh it to
your home page like this
<meta http-equiv="Refresh" content="3;
URL=http://www.yourhomepage.com/index.html">;

that should work nicely =]

laterz
Brian

Dennis wrote:
> 
> This has nothing to do with freebsd..but someone here ought to know...
> 
> When using ErrorDocument call, I'd like to redirect to the home page.
> Location: calls dont seem to work, which would be ideal. Any way to
> do this without repainting the doc?
> 
> Dennis
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-isp" in the body of the message

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36C1DC81.5E528FEA>