Re: [users@httpd] custom errors -- problem with 401 error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



DW wrote:
> I require username/password authentication for almost all content.

You need one place when you do not need authentication to serve your
error documents. And that place have to be BEFORE any other
authenticated place.

Meaning: if you require authentication on your DocumentRoot (/),
nothing will work. If you DO NOT require authentication on the
DocumentRoot, then put your error documents in there and call them
from your ErrorDocument directive.

ErrorDocument 401 /errorunauthorized.html

Davide

-- 
I'm not sure that the ability to create routing diagrams similar to
pretzels with mad cow disease is actually a marketable skill.
-- Steve Levin on alt.sysadmin.recovery

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux