Daily Archives: 16-June-2006

mod_auth_pam and flatfile

The other day I found myself needing to restrict access to a web site to only users who had logins to a system … while also allowing other users, who didn’t have logins, to access.

mod_auth_pam was the solution for the users with a login … and standard ‘htpasswd’ access was the answer for the other users … but getting the two to work together was causing problems.

A bit of Googling turned up this technique that solves the problem quite nicely.

AuthPAM_Enabled on
AuthPAM_FallThrough on
AuthAuthoritative Off
AuthUserFile /path/to/htpassword
AuthType Basic
AuthName "Secure"
Require valid-user

[tags]apache, authentication, htaccess[/tags]

Auction for Bosses Birthday Card

A rather unique group of developers out in Baltimore have decided to go with a different route to collect money for a birthday card & gift for their boss.

They are running an auction … the winner of this auction will get their name and website signed on the inside of the birthday card in big letters. The card will also be prominently displayed in their office lunch room.

http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&ssPageName=ADME:L:LCA:US:31&item=9532516908.

Update: Apparently eBay pulled the auction because they thought it was for a charity … which it was not. The auction has been reposted.
[tags]ebay, birthday, boss, auction[/tags]