cocoon-users mailing list archives

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

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



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