Using Mysql With .htaccess, using mySQL with .htaccess

General project discussion. NOT for help questions.
Post Reply
sdc121

Using Mysql With .htaccess, using mySQL with .htaccess

Post by sdc121 »

Hello,

i have been learning PHP and starting to ue mySQL i have read and found coding that .htaccess can read username and passwords on mySQL but i can not get it working, below i hae add the coding that i have found if anyone can help me out i would be very greatful

AuthType Basic
AuthName "Restricted Area"
Auth_MYSQLhost mysql.uk.clara.net
Auth_MYSQLusername *****
Auth_MYSQLpassword *****
Auth_MYSQLdatabase database
Auth_MYSQLpwd_table login
Auth_MYSQLuid_field username
Auth_MYSQLpwd_field password
Auth_MYSQL_EncryptedPasswords off
require valid-user

when i upload this to the website to does not bring up and username and password box like it should, i have been using .htaccess with .htpasswd for a few years now and that works correctly.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Using Mysql With .htaccess, using mySQL with .htaccess

Post by calguy1000 »

What does this have to do with CMS Made Simple?  Surely there are other forums where this question would be more easily answered.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
cyberman

Re: Using Mysql With .htaccess, using mySQL with .htaccess

Post by cyberman »

Think it would not work with CMSms cause password is md5 enrypted in database ...
Post Reply

Return to “General Discussion”