Site with integrated Apache authentication

  • PolishHurricane
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Feb 17, 2005
  • Posts: 1585
  • Status: Offline

Post November 1st, 2010, 11:50 pm

Hey all,

I have a custom website I'm building with it's own login/user authentication and I added some open source software to some directories on the website. Now I want to use .htaccess to password protect these directories instead of flat out modifying the software. I really don't want to have to modify the passwd file with the custom script and I've looked at mod_auth_mysql and mod_authn_dbd. Problem is I can't for the life of me figure out how to get mod_auth_mysql compiled/installed on ArchLinux. Also, I'm not even sure if mod_authn_dbd works with hashed passwords.

To make life more complicated, the hashes in the database are also salted. I can live with removing the salt and requiring all my users to change their passwords/re-register, but I don't know what to do.

Any ideas?
There's no place like 127.0.0.1, badass part is now it's ::1
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post November 1st, 2010, 11:50 pm

  • Bogey
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8211
  • Loc: USA
  • Status: Offline

Post November 2nd, 2010, 10:36 am

I'm afraid of posting this here because you most likely already seen it, but just in case:

Have you tried this?.
"Bring forth therefore fruits meet for repentance:" Matthew 3:8
  • PolishHurricane
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Feb 17, 2005
  • Posts: 1585
  • Status: Offline

Post November 8th, 2010, 8:29 am

Yeah I thought I couldn't use mod_auth_mysql, but I managed to compile it finally. Turns out you need a patch. I think I posted it in another topic that had to do with getting it compiled.

Thanks anyway, They REALLY need to update that page to talk about the patching.
There's no place like 127.0.0.1, badass part is now it's ::1

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 137 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.