Menu

mod_auth_mysql conflict with mod_limitconnip

Help
tscbh
2005-10-05
2013-04-23
  • tscbh

    tscbh - 2005-10-05

    I installed mod_auth_mysql and mod_limitconnip, I notice that there is a logical error when installing both of modules.

    I set the maximum number of concurrent connection to 8 on the mod_auth_mysql password protected directory. The problem was mod_auth_mysql is authenticated before mod_limitconnip.

    Most if not all of my members are using download manager and they keep attacking the mysql server constantly with 50+ connections.

    I am wondering if there is a way I can set so that mod_auth_mysql is authenticate after everything else is done?

    How do I set so that mod_auth_mysql only authenticate when there is no forbidden ERROR or other 4XX ERROR?

    Thanks in advance,
    tscbh

     
    • Jerry Stuckle

      Jerry Stuckle - 2005-10-05

      Tscbh.

      Sorry, no.  Apache controls the order in which modules are called, based on the hook being used and (if two modules use the same hook), the order they appear in the httpd.conf file.

      Unfortunately, mod_limitipconn (I think that's the one you're using - I couldn't find anything on mod_limitconnip) use different hooks, and mod_auth_mysql's hook is called first.

      This is all done before any error is returned to the user.

      Jerry

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.