cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastien Koechlin <skoech...@ivision.fr>
Subject Re: Protecting xml files using htaccess
Date Mon, 26 Mar 2001 15:24:53 GMT
Carl Mace wrote:
> 
> I'm trying to protect my xml files using htaccess, but I can't get it to
> work inside my cocoon dir.
(...)
> <Files myFile.xml>
> <Limit GET POST>
> require valid-user>
> </Limit>
> </Files>

This is not a Cocoon problem, but URI/File confusion.
You can not use Files or Directory directive, because apache
is not serving files, it is answering to URI request, and
sending cocoon requests to your serlvet engine.

Use the Location directive instead.


-- 
S├ębastien Koechlin - IVision - skoechlin@ivision.fr

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message