HaHa! i found some doccumentation on exactly what i needed :
http://perl.apache.org/faq/#so%20how%20do%20i%20use%20mod_perl%20in%20conjun
ction%20with%20errordocument

which basically told me to add this bit of code at the top of my module:

    $r->content_type('text/html; charset=ISO-8859-1');
    $r->send_http_header;
    $r->status(200);


that first sends the original status to the browser (with send_http_header)
then sets the status to 200 to make apache happy.. this works fine.

Thanks for tryin to help thou,

DJ

----- Original Message -----
From: "Richard L. Goerwitz III" <[EMAIL PROTECTED]>
To: "DJ (David J Radunz)" <[EMAIL PROTECTED]>
Sent: Tuesday, December 11, 2001 6:07 AM
Subject: Re: ErrorDocument 401 problem..


> "DJ (David J Radunz)" wrote:
> >
> > before i uncomment the "#ErrorDocument 401 /error/401" line i get:
> >
> > [root@astroboy ErrorControl]# GET -s -d
http://www.chingali.com/ClientLogin
> > Enter username for CHINGALIwebstudios: Client Login Access at
> > www.chingali.com:80: DJ
> > Password:
>
> Okay.  Looks good.  The browser (GET) is making the request, and
> it's getting a 401 error code from your server.  If you enter the
> username and password, you presumably get in.  If you don't, I
> presume you get your error handler page.
>
> Is this right?
>
> --
>
> Richard Goerwitz                               [EMAIL PROTECTED]
> tel: 401 438 8978
>

Reply via email to