|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Hi,
I've just gotten mod_auth_mysql (2.20) working on our apache server (1.3.14) and its working fine except: The virtual hosts that are still configured to use AuthUserFile are also trying to access the mysql database to authenticate users, which causes an internal server error because I am not using the default table names. In the httpd.conf file I am using the Auth_MySQL_General_DB directive and thought it might have something to do with that? Should I only specify the Database directive inside a virtual host? or is there another solution to this problem. Thanks, Greg. |
|
#2
|
|||
|
|||
|
take a look at the AuthAuthoritative directive
|
|
#3
|
|||
|
|||
|
hi,
I tried the Auth_MySQL_Authoritative off directive in the main server part of the configuration file and then ran Code:
apachectl configtest Which came back saying i couldn't put it there. So i decided to try the Auth_MYSQL off directive instead and put it in the <Directory> sections of my virtual hosts where i wanted to continue using the AuthUserFile. This seems to have worked and i now have a mix of AuthUserFile and Auth_MySQL authentication. Thanks, Greg. |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > auth mysql and authuserfile |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|