Thanks, that worked. Now I can use the regular authentication stuff. As I said in my last email, in the interest of preventing location pollution, is there some way I could make those PerlSetVars available to subsequent requests to a different location? I can't think of any way to do it without copying them to a separate location for each one. Perhaps with some kind of shared memory?
Brian -----Original Message----- From: Geoffrey Young [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 3:12 PM To: Hann, Brian Subject: Re: notes() and mod_perl ErrorDocuments Hann, Brian wrote: > Well, here's my main problem. I will have many locations in many > vhosts that require authentication. Each of those locations defines > separate PerlSetVars that the authentication module picks up. I would > really, really like those vars to come across to whatever handles the > 401 without having to declare a 401 location directive for every > authentication location directive, i.e. keep from having /auth_fail2, > auth_fail_bob, auth_fail_fred, etc. all over the vhosts: well, you might be able to do something like ($r->prev || $r)->dir_config->get('system_id') to dig them out of the main request. --Geoff