1
prophecy100
Htaccess auto login

Hello all

My installation of XOOPS sits in an area of the website secured with an apache htaccess file. Users have to enter a username and password to access this area.

Does anyone know of an easy way I can set up XOOPS so that it automatically logs a user in using the username and password they entered to gain access to the secure area?

I have looked at the autologin hacks, authentication hacks, etc. I know that htaccess can reference a MySQL database and I have got this to work, I also know that two variables, php_auth_user, and php_auth_pw are set when a user logs into the secure area. From everything I have read i'm pretty sure this should be possible but i'm a little confused over what I would need to do...

I would really appreciate any help anyone can give.

Jonathan

2
tl
Re: Htaccess auto login
  • 2004/5/21 12:17

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


Why not just use Xoops? XOOPS is just as secure as htaccess, if not better.

I think you could tinker with the site-close template and make people log in that way. Non-user would not be able to peek inside, user would just see as a regular login.


Login

Who's Online

243 user(s) are online (164 user(s) are browsing Support Forums)


Members: 0


Guests: 243


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits