libapache2-mod-auth-mysql wouldn't work on standard apache
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mod-auth-mysql (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: libapache2-
1.
# lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04
2. (not installed anymore)
# apt-cache policy apache2
apache2:
Installed: (none)
Candidate: 2.2.11-2ubuntu2.2
Version table:
2.
500 http://
500 http://
2.
500 http://
3 & 4
I've been using this package on all my systems, but just recently I tried it with the standard apache package. Normally, I use the "user per vhost" apache version, apache2-mpm-itk.
I had been trying to configure this package, and every time I listed the configuration in the vhost for a certain directory, it would go blank when browsing to it. Nothing in the error.log and 1 line in the access.log saying a 401 error. (but didn't appear in the browser).
<ip> - - [05/Aug/
I had put on the loglevel = debug, but the only it wasn't showing (in comparison to a working apache (the itk package)) was the query on the DB.
[Tue Aug 04 13:45:27 2009] [debug] mod_auth_
/public_
[Tue Aug 04 13:45:27 2009] [debug] mod_auth_
html/administra
[Tue Aug 04 13:45:27 2009] [debug] mod_auth_
[Tue Aug 04 13:45:27 2009] [debug] mod_auth_
rator/
[Tue Aug 04 13:45:27 2009] [debug] mod_auth_
[Tue Aug 04 13:45:27 2009] [debug] mod_auth_
[Tue Aug 04 13:45:27 2009] [debug] mod_auth_
ers], userfield=[bart], where_clause=[]
[Tue Aug 04 13:45:27 2009] [debug] mod_auth_
[Tue Aug 04 13:45:27 2009] [debug] mod_auth_
so, got a blank page without a query being executed.
After installing the itk package everything went fine.
# apt-cache policy apache2-mpm-itk
apache2-mpm-itk:
Installed: 2.2.6-02-1build4.2
Candidate: 2.2.6-02-1build4.2
Version table:
*** 2.2.6-02-1build4.2 0
500 http://
500 http://
100 /var/lib/
2.
500 http://
Config:
* part of vhost
<Directory "/path/
Options Indexes FollowSymLinks MultiViews
AuthBasicAu
AuthUserFile /dev/null
AuthMySQL On
AuthName "<name>"
AuthType Basic
Auth_MySQL_DB mod-auth-mysql
Auth_
Auth_
Auth_
Auth_
Auth_
Auth_
Auth_
Auth_
require group admin
</Directory>