cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastien Koechlin <>
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 -

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message