cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arnaud Vandyck <arn...@ressource-toi.org>
Subject Re: Protecting xml files using htaccess
Date Tue, 27 Mar 2001 08:10:04 GMT
Carl Mace wrote:
> 
> I have just tried a htaccess file inside the cocoon dir, but it doesn't
> seem to read it.

I do not know if you work with Tomcat, but in this case, Apache does
_not_ read this directory, it's Tomcat! So you got to put the directives
in the "global" httpd.conf (or access.conf)

> You said that they could be used in dir's.  Lets say that my
> Cocoon dir is called /XSL, would the htaccess file go inside this or
> outside this bearing in mind that the file would look like this
> 
> AuthUserFile /myfile/.htpasswd
> AuthType Basic
> <Location *.xsl>
> require valid-user
> </Location>
> 
> Many thanks again for your trouble

-- 
Arnaud Vandyck <http://www.ressource-toi.org/>

---------------------------------------------------------------------
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