The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
htaccess
I've been looking for a htaccess hack that prompts a user to enter there user and pass from the board prior to logging in the main board. I know there is one somewhere I just couldnt find it. I did find this one but it appears to be dead and it was a post that someone who had tried to take credit for something that wasnt his. So if some could point me in the right direction thanks. I'm still sort of a newbie so bare with me.
Click me to see the only think I could find here!!! |
#2
|
|||
|
|||
Sorry mods, I found serveral things on the board that i didnt see eariler. No sure which one will work for me, but ill keep looking.
|
#3
|
||||
|
||||
Here is the basic contents that are needed. Apache needs to be compiled with mod_mysql_auth if I remember correctly:
Code:
AuthType Basic AuthName "*My Forums*" Auth_MYSQLhost *myhost.com* Auth_MYSQLusername *username* Auth_MYSQLpassword *password* Auth_MYSQLdatabase *dbname* Auth_MYSQLpwd_table user Auth_MYSQLuid_field username Auth_MYSQLpwd_field password Auth_MYSQL_EncryptedPasswords off <LIMIT GET POST> require valid-user </LIMIT> Hope this helps. |
#4
|
||||
|
||||
not all hosts support that mod, unfortunatelly. mines doesnt...
|
#5
|
|||
|
|||
I'm so new to this that I dont really understand what that is.
Any way you can explain it to a child. sorry |
#6
|
||||
|
||||
is there somthing you can add so you can only allow certian usergroups?
like add somthing... where usergroupid = 1 or any number(s) you wish. |
#7
|
|||
|
|||
oke but what to do if the passes are encrypted ??
just Code:
AuthType Basic AuthName "*My Forums*" Auth_MYSQLhost *myhost.com* Auth_MYSQLusername *username* Auth_MYSQLpassword *password* Auth_MYSQLdatabase *dbname* Auth_MYSQLpwd_table user Auth_MYSQLuid_field username Auth_MYSQLpwd_field password Auth_MYSQL_EncryptedPasswords on <LIMIT GET POST> require valid-user </LIMIT> |
#8
|
||||
|
||||
This line:
Code:
Auth_MYSQL_EncryptedPasswords on |
#9
|
||||
|
||||
Ok i have a question also about this, we have added this module mod_mysql_auth to our apache machine but when we create the .htaccess file with the code above it sends the 500 error page.
There were some addtional code lines that we had to add that we missed but its still doing the same thing...Is there any other addtional lines that we need to add to make this work ? |
#10
|
|||
|
|||
Ok, let me get this straight. I first have to check with my host and make sure they support the mod_mysql_auth and then create a file named .htaccess with the above info and placed where on my server? Root web directory?
Mark |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|