Re: redirect if error 404

From: FLEB (soon.the.sp_at_mmers.and.evil.ones.will.bow-down-to.us)
Date: 11/25/03


Date: Mon, 24 Nov 2003 23:06:19 -0500

Regarding this well-known quote, often attributed to <- Chameleon ->'s
famous "Sun, 23 Nov 2003 23:01:57 +0200" speech:

>> I have this .htaccess in web root
>> --------------
>> ErrorDocument 404 /error404handler.php
>> --------------
>> BUT I take in Mozilla this when I call a URL that dont exist:
>> --------------------
>> Not Found
>> The requested URL /this_dont_exist was not found on this server.
>> Additionally, a 403 Forbidden error was encountered while trying to use an
>> ErrorDocument to handle the request.
>> ---------------------
>>
>> Why Error 403 Forbidden in ErrorDocument???
>> both .htaccess and error404handler.php have chmod 644
>
> In server there are many server roots
> My root is
> http://tassadar.physics.auth.gr/~chameleon/
> maybe this is relative?

Try using the full URL for the redirect. If that works, at least you know
it's not an .htaccess problem.

-- 
-- Rudy Fleminger
-- sp@mmers.and.evil.ones.will.bow-down-to.us
   (put "Hey!" in the Subject line for priority processing!)
-- http://www.pixelsaredead.com


Relevant Pages

  • Re: redirect if error 404
    ... > I have this .htaccess in web root ... a 403 Forbidden error was encountered while trying to use an ... > Why Error 403 Forbidden in ErrorDocument??? ... In server there are many server roots ...
    (comp.lang.php)
  • Re: httpd trouble
    ... Duncan Lithgow wrote: ... > Forbidden error was encountered while trying to use an ErrorDocument to ... Apache needs to display directory listing for some directory (for ...
    (Fedora)
  • redirect if error 404
    ... I have this .htaccess in web root ... The requested URL /this_dont_exist was not found on this server. ... a 403 Forbidden error was encountered while trying to use an ... ErrorDocument to handle the request. ...
    (comp.lang.php)
  • 403 Forbidden error
    ... a 403 Forbidden error was encountered while trying to use ... an ErrorDocument to handle the request. ... To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list ...
    (Fedora)