|
|
|
|
||||||
| alt.apache.configuration Apache web server configuration issues. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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. |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On Mon, 7 Jan 2008 02:51:33 -0800 (PST), howa
<howachen@gmail.com> 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: <!--#echo var="REQUEST_URI" --> for example to: %serverroot%\error\include\top.html or %serverroot%\error\include\bottom.html -- ( Kees ) c[_] I drink to make other people interesting. (#121) |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
On Jan 7, 12:49 pm, Kees Nuyt <k.n...@nospam.demon.nl> wrote:
> On Mon, 7 Jan 2008 02:51:33 -0800 (PST), howa > > <howac...@gmail.com> 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: > <!--#echo var="REQUEST_URI" --> > 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 |
|
![]() |
| Outils de la discussion | |
|
|