httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From men...@lug.com
Subject [users@httpd] Réf. : Re: [users@httpd] File .htaccess and <limit> argument
Date Thu, 30 Jan 2003 16:57:01 GMT

Hi,

I'm sorry, but, here is my previous .htaccess file :

AuthUserFile /var/www/mms/password/doc.txt
AuthName "Acces Restreint"
AuthType Basic

require valid-user



It didn't work anymore, unless I modify it like that :

AuthUserFile /var/www/mms/password/doc.txt
AuthName "Acces Restreint"
AuthType Basic

<Limit GET POST>
require valid-user
</Limit>

So, it seems, it's required !

>Did you read all the docs on <Limit>?  It says that using <Limit> is
>almost always unnecessary; and it is true!  Don't use <Limit> unless you
>have a specific need to limit access to some methods while allowing access
>to other methods.  And in general, even this should be done with
><LimitExcept> instead.



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message