LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Bloody apache authorisation...

[ILUG] Bloody apache authorisation...

adam beecher adam at iewebs.com
Thu Apr 13 20:41:18 IST 2000


> I could be completely wrong, because I normally do auth via htaccess, but
> shouldn't the "require valid-user" be in a <Limit> block within the
> <Directory> block?
>

Well, I'm completely wrong:

http://apache.mirrors.esat.net/docs/mod/core.html#require

<QUOTE>
AuthType Basic
AuthName "Restricted Directory"
AuthUserFile /web/users
AuthGroupFile /web/groups
require group admin

Access controls which are applied in this way are effective for all methods.
This is what is normally desired. If you wish to apply access controls only
to specific methods, while leaving other methods unprotected, then place the
require statement into a <Limit> section.
</QUOTE>

Sorry about that.

adam





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell