WebSphere HTTP Server - ErrorDocument directive

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere HTTP Server > February 2004 > ErrorDocument directive





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author ErrorDocument directive
riccardo porporato

2004-02-03, 4:33 am

does some one know how is the correct statement for the directive
ErrorDocument?
I try to put:
ErrorDocument 401 "Not autorized"
ErrorDocument 404 "Not found",
but when i try no page is displayed
thanks


Sunit Patke

2004-02-03, 7:33 am

ErrorDocument 403 /sitedown_404.html

Where sitedown_404.html is a file in your DocumentRoot

Sunit

"riccardo porporato" <riccardo.porporato@sanpaolowm.com> wrote in message
news:bvoku9$3q2s$1@news.boulder.ibm.com...
quote:

> does some one know how is the correct statement for the directive
> ErrorDocument?
> I try to put:
> ErrorDocument 401 "Not autorized"
> ErrorDocument 404 "Not found",
> but when i try no page is displayed
> thanks
>
>




riccardo porporato

2004-02-03, 11:33 pm

Sunit,
i set the configurazion like this:
ErrorDocument 404 /mulfai.html where mulfai.html is the html page on my
DocumentRoot

the error is diaplayed like:
Page not found
La pagina cercata è stata rimossa, il nome della pagina è stato
modificato o non è disponibile al momento.

--------------------------------------------------------------------------

Provare a eseguire le operazioni seguenti:

a.. Verificare che l'indirizzo immesso nella barra degli indirizzi
sia stato digitato nel modo corretto.

b.. Aprire la pagina iniziale hsvl01:33333, quindi cercare i
collegamenti alle informazioni desiderate.
c.. Per cercare un altro collegamento, fare clic sul pulsante
Indietro.
d.. Fare clic sul pulsante Cerca per ricercare informazioni su
Internet.



HTTP 404 - File non trovato
Internet Explorer

The Apache Server is Apache/2.0.47 (iSeries)
thanks

"Sunit Patke" <nospam.patke@nospam.com> ha scritto nel messaggio
news:bvp0a5$3qp4$1@news.boulder.ibm.com...
quote:

> ErrorDocument 403 /sitedown_404.html
>
> Where sitedown_404.html is a file in your DocumentRoot
>
> Sunit
>
> "riccardo porporato" <riccardo.porporato@sanpaolowm.com> wrote in message
> news:bvoku9$3q2s$1@news.boulder.ibm.com...
>
>




Sunit Patke

2004-02-04, 2:05 am

check your error_log file. Looks like the html page is not in the correct
DocumentRoot. Can you post your httpd.conf here?

Sunit

"riccardo porporato" <riccardo.porporato@sanpaolowm.com> wrote in message
news:bvqngo$3iae$1@news.boulder.ibm.com...
quote:

> Sunit,
> i set the configurazion like this:
> ErrorDocument 404 /mulfai.html where mulfai.html is the html page on


my
quote:

> DocumentRoot
>
> the error is diaplayed like:
> Page not found
> La pagina cercata è stata rimossa, il nome della pagina è stato
> modificato o non è disponibile al momento.
>
> --------------------------------------------------------------------------
>
> Provare a eseguire le operazioni seguenti:
>
> a.. Verificare che l'indirizzo immesso nella barra degli indirizzi
> sia stato digitato nel modo corretto.
>
> b.. Aprire la pagina iniziale hsvl01:33333, quindi cercare i
> collegamenti alle informazioni desiderate.
> c.. Per cercare un altro collegamento, fare clic sul pulsante
> Indietro.
> d.. Fare clic sul pulsante Cerca per ricercare informazioni su
> Internet.
>
>
>
> HTTP 404 - File non trovato
> Internet Explorer
>
> The Apache Server is Apache/2.0.47 (iSeries)
> thanks
>
> "Sunit Patke" <nospam.patke@nospam.com> ha scritto nel messaggio
> news:bvp0a5$3qp4$1@news.boulder.ibm.com...
message[QUOTE][color=darkred]
>
>




Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com