At 12:45 PM -0800 8/3/02, Joshua Chamas wrote: >"John D. Leonard II" wrote: >> > > I'm tryin to get the error document facility working for 401 error > > (authorization failure.) >... > > However, when I hit a protected page and fail out, the standard message >> is shown. >> >... >For your purposes, you might do what you want better by using >Apache->custom_response API directly in a early mod_perl request >stage, or the Apache ErrorDocument config.
In my work I used the following in the httpd.conf to handle missing document (404) requests. Presumable 401 would work identically? ErrorDocument 404 /404.asp Then in 404.asp you can put whatever you want. HTH Ellers --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]