Help - Search - Members - Calendar
Full Version: .htaccess And Mysql Question
Linuxhelp > Support > Technical Support
Dosler
I was able to find a great help file on your site at

http://www.linuxhelp.net/guides/htaccessmysql/

I am in the process of making this work now and it is going great.
I am making a users page for our customers to access our tools page by their email address.
Their email data is stored in a MySQL table and this works great except that I have multiple domains for my customers and each on had thier own table of email/password information.

Is there a way to have the .htaccess file look into one table and if not found go onto another one untill all tables listed are searched?

ex.

AuthMySQLUserTable domain1, domain2, etc

I am not sure if apache knows how to handle this or if I need to write a small script that will change the .htaccess file as it tries to authenticate.

Any ideas?

-Dosler
hughesjr
QUOTE
If AuthMySQLAuthoritative is Off, then iff the user is not found in
the database, let other auth modules try to find the user.  Default
is On.


So, you may be able to set

AuthMySQLAuthoritative off

The create more than one entry ... one after the other

Or copy all your info into one table...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.