Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132391 - Apache 1.3.x - mod_auth_mysql replaces regular digest authentication
Summary: Apache 1.3.x - mod_auth_mysql replaces regular digest authentication
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-05 15:01 UTC by gentoo
Modified: 2006-06-05 12:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gentoo 2006-05-05 15:01:28 UTC
it would be nice if we could use the mod_auth_mysql module alongside the regular digest authentication. (Currently, installation of this module forces it to handle ALL authentication requests, preventing a server from using both digest authentication and MySQL authentication). According to the developers you can accomplish this by passing -DENABLE=0 to the apxs command-line during the build process:

http://sourceforge.net/forum/forum.php?thread_id=1218049&forum_id=202943

I tested this by modifying the ebuild inside a local portage overlay and it works fine.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-05-05 15:16:21 UTC
Which apache version? I'm using mysql, basic and digest authentication on the same server simultaneously for ages w/ apache-2.0.x, don't see what you mean here.
Comment 2 gentoo 2006-05-05 15:37:25 UTC
Im using Apache 1.3.34.

After installation of mod_auth_mysql, several sites that used digest authentication reported it not working. I removed  -D AUTH_MYSQL from /etc/conf.d/apache and restarted. Same sites started working again. In trwaling through the mod_auth_mysql Help forum I came across several posts that described a similar program (see URL above) where the developers describe a "fix" for this.

Anyway, its working for me now using the overlay ebuild - this was just an enhancement that might be useful.

Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-05-05 16:09:36 UTC
(In reply to comment #2)
> Anyway, its working for me now using the overlay ebuild - this was just an
> enhancement that might be useful.

Well, I didn't know that apache-1 has such weird behaviour. Any reason why you don't/can't upgrade to 2.x?
Comment 4 gentoo 2006-05-06 17:23:13 UTC
Im setting this up on a shared web server that is currently in production. Stability is more important than running Apache 2.x.
Comment 5 Benedikt Böhm (RETIRED) gentoo-dev 2006-06-05 12:12:54 UTC
fixed in cvs, thanks