View Full Version : htaccess hack requested
StarBuG
01-12-2002, 01:49 PM
Hi!
I have a question:
Is it possible to write a hack that if a user registeres it automaticly adds the username and password in the htaccess pswd file?
And if a user is deleted it deletes his acces there?
This would be VERY usefull???
Maybe this works with a db entry where the content of the htaccess password file is stored and if a new member registers it adds his udername and pw to this content and then generates a new file!
Greetings
StarBuG
Scott MacVicar
01-12-2002, 02:40 PM
there is a mod_auth_mysql which is an apache module which can do this.
You put in the database host, user, pass, database, table and then the user field and the pass field. Then when they go to the page they get the popup box asking for user and pass and this is checked against the copy within the mysql database, so you can use your database for both of these.
tweak
01-12-2002, 03:49 PM
Originally posted by PPN
there is a mod_auth_mysql which is an apache module which can do this.
You put in the database host, user, pass, database, table and then the user field and the pass field. Then when they go to the page they get the popup box asking for user and pass and this is checked against the copy within the mysql database, so you can use your database for both of these.
Where do you get this?
StarBuG
01-13-2002, 04:13 PM
OEHM!
I don?t realy understand what your saying (no offens!)
Maybe you can write a little install guide :D ??
Would me help very much! hehe
Greetings
StarBuG
Scott MacVicar
01-13-2002, 06:41 PM
look at
http://www.bignosebird.com/notebook/mysqlauth.shtml
thats the tutorial for using it.
syion
03-19-2002, 04:47 AM
This is the same type of hack I need but i cannot find the link to download the file. The link at bignosebird is dead . Is there another place to get the file ?
tweak
03-19-2002, 05:46 AM
try this??
https://vborg.vbsupport.ru/showthread.php?s=&threadid=34690&highlight=htaccess
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.