httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gare" <g...@wanadoo.es>
Subject Re: [users@httpd] ErrorDocument 403 and so doesn't redirect properly
Date Wed, 15 Dec 2004 02:24:30 GMT
FIXED: 403 redirect properly, and so 500, 406, and so on!!!!
Really: if error pages are not too small the document error functions
properly.

Thanks you all.


----- Original Message ----- 
From: "Ivan Barrera A." <Bruce@Ivn.cl>
To: <users@httpd.apache.org>
Sent: Wednesday, December 15, 2004 3:16 AM
Subject: Re: [users@httpd] ErrorDocument 403 and so doe'nt redirect properly


> Dont know if another person replied this but, i remember having trouble
> when my error pages where less than 1kb in size.
>
> Gare wrote:
> > No, 404 error are managed ok by apache, vhosts use the config of the
main
> > (common) configuration. Malfunction appears in 403, 500 and others
document
> > errors. And more, the problem too appears if document errors are
> > configurated inside vhosts section
> >
> > regards
> >
> > ----- Original Message ----- 
> > From: "Ralf Glauberman" <rglauberman@michaeli-gymnasium.de>
> > To: <users@httpd.apache.org>
> > Sent: Monday, December 13, 2004 10:49 PM
> > Subject: Re: [users@httpd] ErrorDocument 403 and so doe'nt redirect
properly
> >
> >
> >
> >>hi,
> >>just one idea, but is it for sure that apache will be able to know which
> >>vhost is active in an error-condition? i think it could be possible that
> >>apache wants absolute pathes here because it isn't sure if it will
always
> >
> > be
> >
> >>able to know the right vhost. correct me, if i'm wrong.
> >>ralf
> >>
> >>----- Original Message ----- 
> >>From: Gare
> >>To: users@httpd.apache.org
> >>Sent: Monday, December 13, 2004 5:49 PM
> >>Subject: [users@httpd] ErrorDocument 403 and so doe'nt redirect properly
> >>
> >>
> >>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
> >>
> >>Error 404 (page not faound) works right, but 403 or 500 go to defaul
> >
> > pages.
> >
> >>But if I put
> >>ErrorDocument 403 http://mydomain.com/error/403.htm
> >>
> >>then  page 403 is redirected to the correct page.
> >>
> >>I've tried to write the ErrorDocument configuration sentences inside
> >
> > virtual
> >
> >>host directive, but the problem is the same.
> >>(Apache 1.3.3)
> >>
> >>Any idea of where is my mistake?
> >>
> >>
> >>---------------------------------------------------------------------
> >>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
> >>
> >>
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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
> >
>
> ---------------------------------------------------------------------
> 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
>



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


Mime
View raw message