Francesc Romà i Frigolé wrote:
This is more of an apache question than a Catalyst one, but I'd
appreciate some help.
I'm trying the new feature $c->req->remote_user introduced in 5.80005.
I'd like to know if it is possible to tell apache, in a .htaccess file,
to not ask authentication for a certain set of URIs (for example
matching /public/)
Yes, it is.
<Location /public>
Satisfy Any
Allow from All
</Location>
should do what you want.
Also, if you haven't seen it yet:
http://search.cpan.org/~bobtfish/Catalyst-Plugin-Authentication-0.10012/lib/Catalyst/Authentication/Credential/Remote.pm
may be helpful to you later on.
Cheers
t0m
_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/