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

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
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:25:04 IST 2000


> I've a problem with either apache or netscape
> authentication.  The scenario is as follows:

<CHOPPITY-CHOP>

> <Directory /home/httpd/cgi-bin/helpdesk>
> AuthType Basic
> AuthName helpdesk
> AuthUserFile /etc/httpd/conf/passwords
> require valid-user
> </Directory>
>

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?

<Directory /home/httpd/cgi-bin/helpdesk>
AuthType Basic
AuthName helpdesk
AuthUserFile /etc/httpd/conf/passwords
<Limit GET PUT POST>
require valid-user
</Limit>
</Directory>

HTH,
adam

[Sorry about the double post if you're a subscriber, but I'm not sure...]

____________________________________________

Adam Beecher - CEO & Core Geek - ieWebs™

Email ... adam at iewebs.com
Phone ... +353 (0)86 2529887
Fax ... +353 (0)86 8544767
Web ... http://iewebs.com
PGP ... http://pgp.iewebs.com
Mail ... Box 81, Eglinton St, Cork, Ireland
____________________________________________





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