I want to protect a path in my VirtualHost but allow users a variety of authentication options (e.g.
mod-auth-digest.) How do I set up the virtual host definition to allow multiple
auth-types for the same location?
i had the almost same situation, solved like the following:
at server config level, in the apache2.conf (assuming Debian based distros)
in the Virtual Host specific conf file:
in this way you can use different authorization/authentication methods with different names in the same Location directive for differnt VirtualHosts
more details of my solution in a short blog post: link text
HTH, ciao :) Gianluca
The problem with multiple authentication types is they tend to have irreconcilable protocols. You can try the technique shown in the Shibboleth documentation, where you put everything in a subdirectory, create a symlink to that directory for each authentication type you want to support, then configure each symlink location for a different authentication type.