# Problem with mod\_ruby and mod\_auth\_mysql

**URL:** <https://www.ruby-forum.com/t/problem-with-mod-ruby-and-mod-auth-mysql/113202>\
**Category:** Ruby\
**Created:** [August 28, 2007, 6:07pm UTC](https://www.ruby-forum.com/t/problem-with-mod-ruby-and-mod-auth-mysql/113202 "2007-08-28T18:07:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lokean\_Darken](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/f0a364/32.png) [@Lokean\_Darken](https://www.ruby-forum.com/u/Lokean_Darken)\
**Post date:** [August 28, 2007, 6:07pm UTC](https://www.ruby-forum.com/t/problem-with-mod-ruby-and-mod-auth-mysql/113202/1 "2007-08-28T18:07:44Z")

</div>

Hi,

I have a following problem.

On one apache server we run two applications. Application one is using  
mod\_auth\_mysql and application two use RubyAuthHandler from mod\_ruby.  
This auth handler also authorize user from mysql. Problem is, when I  
load mod\_auth\_mysql to apache, my ruby AuthHandler ignore all setting  
about mysql connection and try to log on as default user (apache) to  
default host (localhost) with no password.

When mod\_auth\_mysql is not loaded, everything work. Does anybody have  
idea where can be problem?
