![]() |
HTACCESS hack.. that allow Members to use the LOGIN info..?????
|
What? Be more specific.
|
He wants to use the login info from the MySQL for a folder that is protected with .htaccess.
|
heres what im looking for:
htaccess hack for vbb 2 Simple htaccess by kennydies [global user and pass mode] edit your global.php and ABOVE // ###################### Start init ####################### add this code: code:-------------------------------------------------------------------------------- // Simple htaccess by kennydies [global user and pass mode] (made on 28-5-2001) if ( !isset( $PHP_AUTH_USER ) ) { header('WWW-Authenticate: Basic realm="Htaccess login system"'); header('HTTP/1.0 401 Unauthorized'); echo "Sorry, we don't allow gayness on our board\n"; exit; } else if ( isset( $PHP_AUTH_USER ) ) { if ( $PHP_AUTH_USER != "mofo" or $PHP_AUTH_PW != "spankme" ) { // username and pass required header('WWW-Authenticate: Basic realm="Htaccess login system"'); header('HTTP/1.0 401 Unauthorized'); echo "Sorry, we don't allow gayness on our board\n"; exit; } } // Simple htaccess by kennydies [global user and pass mode] (made on 28-5-2001)-------------------------------------------------------------------------------- Change the username/pass in $PHP_AUTH_USER != "mofo" or $PHP_AUTH_PW != "spankme" into what you want. Why did I make this code when you can just use a simple .htaccess file? Cuzz my board was on a server that doesn't support .htaccess and with this code, htaccess does work. THIS IS WHAT I NEED later today I will post the code so username/password are the same as the login on your vbb (i'm at work now and the code is on my home pc) THIS IS WHAT I NEED will anyone make this hack? |
I use the vBulletin logins for access to my porn sites. Check out an Apache module called mod_auth_mysql.
Once setup in Apache, all I needed to do was create a new group in my forums and add people to it when I want to give them access. HEY, who you calling gay :( |
could someone make this hack it would be kool.
|
It made... But they wont give it out.. :( dunno why we cant get it ?
|
What you pay for is the vBulletin product. Nothing else is guaranteed. The hacks aren't supported in any way by Jelsoft.
You should feel lucky that this is such a great community and people provide these hacks. Josh |
But where would you put that to use on the whole board?
|
This thread is over a year old... so I wouldn't use this hack in the first place. But if you read the post carefully, it says to edit the global.php file. And the .htacess file, if you want to use that, goes into your root directory or forum directory depending on what you want it to do.
|
Yep that it is but I found a way to make it work anyway and just for the admin cp.
|
All times are GMT. The time now is 04:44 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|