Is there a way to keep the url blocked for users who are not already registered?
Is there a way to keep the url blocked for users who are not already registered? |
use this in your .htaccess file: AuthBasicAuthoritative Off AuthUserFile /dev/null Auth_MYSQL on Auth_MySQL_Authoritative on Auth_MySQL_DB <your mysql database> Auth_MySQL_Username <the mysql database username> Auth_MySQL_Password <the mysql database password> Auth_MySQL_Profiles <the table containing the authentication data> Auth_MySQL_NickName <the field containing the username> Auth_MySQL_Password <the field containing your password> Auth_MySQL_Empty_Passwords off Auth_MySQL_Encryption_Types Plaintext Crypt_DES AuthName "<Your description>" AuthType Basic require valid-user
This is just a starting point. You are going to have to adjust because the password that is typed is not the same as the actual password in the database. So, you are going to have to figure out how to convert the password. caredesign.net |
@ProfessorSr - That method assumes the server has mod_auth_mysql installed which not all hosting does. https://www.deanbassett.com |
Are you sure that's what you want? https://www.deanbassett.com |
No need to put coding you can easily set via admin Join thru Invitational only
"Your future is created by what you do today, not tomorrow." @ www.dexpertz.net |