1 - I am at a part of my code in which I am returning values from
Apache::Constant:
    } else {
        warn 'auth-required';
#       return NOT_FOUND;
#       return FORBIDDEN;
        return AUTH_REQUIRED;

I know that this is working because in each case of returning the
commented out lines, I got an error page which said "not found" or
"forbidden". However, I wanted to setup an error document for the
AUTH_REQUIRED and so I put this in
httpd.conf:

        ErrorDocument 401 /errordocs/auth-required.html

but then my web browser just keeps spinning and not returning anything
once I trigger the above section of code. Which brings me to question
#2

2 - Is there anyway to have apache dump to the lag exactly what it is
doing so that I can get some idea of why it has my web browser idling
away and not returning anything?


3 - when I remove my ErrorDocument line from httpd.conf and restart
the browser, the exact same infinite-idling behavior occurs. 


4 - The docs for Apache::Constant do not tell what
error number they relate to - i had to go look at httpd.h to figure it
out. and given that they changed the names a bit (ie, AUTH_REQUIRED is
really HTTP_UNAUTHORIZED), this is daunting)

Reply via email to