Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> .htaccess And Mysql Question, .htaccess and MySQL
Dosler
post Jun 23 2004, 02:05 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 23-June 04
Member No.: 3,209



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
Go to the top of the page
 
+Quote Post
hughesjr
post Jun 23 2004, 09:36 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



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...


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th October 2017 - 03:38 PM