Custom error page without Error Document
am 07.01.2008 11:51:33 von howa
Is it possible to do some custom error page like: http://www.google.com/dsdsde
without the use of Error Document + dynamic script such as PHP (What I
want is just put the request URI back to the error page + some custom
design)
I don't want to build some overhead into the 404 not found by using a
PHP script.
I have tried to modified the "HTTP_NOT_FOUND.html.var" but no luck...
Any suggestion?
Thanks.
Re: Custom error page without Error Document
am 07.01.2008 13:49:22 von Kees Nuyt
On Mon, 7 Jan 2008 02:51:33 -0800 (PST), howa
wrote:
>Is it possible to do some custom error page like: http://www.google.com/dsdsde
>without the use of Error Document + dynamic script such as PHP (What I
>want is just put the request URI back to the error page + some custom
>design)
>
>I don't want to build some overhead into the 404 not found by using a
>PHP script.
>
>I have tried to modified the "HTTP_NOT_FOUND.html.var" but no luck...
>
>Any suggestion?
>
>Thanks.
Add:
for example to:
%serverroot%\error\include\top.html
or
%serverroot%\error\include\bottom.html
--
( Kees
)
c[_] I drink to make other people interesting. (#121)
Re: Custom error page without Error Document
am 07.01.2008 21:56:00 von shimmyshack
On Jan 7, 12:49 pm, Kees Nuyt wrote:
> On Mon, 7 Jan 2008 02:51:33 -0800 (PST), howa
>
> wrote:
> >Is it possible to do some custom error page like:http://www.google.com/dsdsde
> >without the use of Error Document + dynamic script such as PHP (What I
> >want is just put the request URI back to the error page + some custom
> >design)
>
> >I don't want to build some overhead into the 404 not found by using a
> >PHP script.
>
> >I have tried to modified the "HTTP_NOT_FOUND.html.var" but no luck...
>
> >Any suggestion?
>
> >Thanks.
>
> Add:
>
> for example to:
> %serverroot%\error\include\top.html
> or
> %serverroot%\error\include\bottom.html
> --
> ( Kees
> )
> c[_] I drink to make other people interesting. (#121)
e careful to escape the uri in case of script injection