You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Michelle Konzack <li...@freenet.de> on 2004/12/13 18:58:37 UTC

[users@httpd] Re: ErrorDocument 403 and so doe'nt redirect properly

Hello Gare, 

Am 2004-12-13 17:49:04, schrieb Gare:
> My problem is that ErrorDocument doesn't redirect to the page I've
> configure in httpd.conf if I don't use a absolute URL.
> My Apache server manage several virtual hosts, I have error page 404
> redirect to /error/404.htm. That's in the main section of httpd.conf
> I wrote:
> ErrorDocument 400 /error/400.htm
> ErrorDocument 401 /error/401.htm
> ErrorDocument 402 /error/402.htm
> ErrorDocument 403 /error/403.htm
> ErrorDocument 404 /error/404.htm
> ErrorDocument 500 /error/500.htm

AFAIK must it be the FULL path to the error files

    /error/XXX.html

mean your filesystem.

> Any idea of where is my mistake?

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Re: [users@httpd] Re: ErrorDocument 403 and so doe'nt redirect properly

Posted by Joshua Slive <js...@gmail.com>.
On Mon, 13 Dec 2004 18:58:37 +0100, Michelle Konzack
<li...@freenet.de> wrote:

> AFAIK must it be the FULL path to the error files
> 
>     /error/XXX.html
> 
> mean your filesystem.

No.  The docs say ErrorDocument take a URL-path.

Joshua.

---------------------------------------------------------------------
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