cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carl Mace" <mcai8...@ist4.co.umist.ac.uk>
Subject Protecting xml files using htaccess
Date Mon, 26 Mar 2001 13:51:47 GMT
I'm trying to protect my xml files using htaccess, but I can't get it to 
work inside my cocoon dir.

I can get it to work on all other dir's, but when it comes to protecting 
anyting inside it, its like the server doesn't read it.  I have to use 
htaccess because i haven't got access to the http.conf dir to use the 
<directory> directive.

My code looks like this (this works outside cocoon)

AuthUserFile  /myFile/.htpasswd
AuthName "Please Enter Password"
AuthType Basic
<Files myFile.xml>
<Limit GET POST>
require valid-user>
</Limit>
</Files>

Can anyone help me on how to protect my xml files.

Rgrds

C



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