HTAccess Query

Discussion in 'Site & Server Administration' started by uggers, Aug 24, 2009.

  1. #1
    Hi,
    I have an intranet site that resides on a Apache server that uses a htaccess file to give users access by comparing there DN from there personal Browser Client Certificate.


    SSLRequire %{SSL_CLIENT_S_DN_CN} =="(uggers)" \
    or SSL_CLIENT_S_dn_CN} =="(uggers1)" \
    or SSL_CLIENT_S_dn_CN} =="(uggers2)" \
    or SSL_CLIENT_S_dn_CN} =="(uggers4)" etc etc

    This all works well. However, the list has now got to 150 users and updating the file to add 1 more name on there causes an error and the generic apache error message is displayed when trying to access the directory the HTaccess file resides on.
    The apache error logs states something like SSLRequire error.

    Any ideas how to resolve this? Is there a maximum size the htaccess file could be? Any ideas greatly appreciated. Doing my head in!!!

    Regards
     
    uggers, Aug 24, 2009 IP
  2. uggers

    uggers Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Had found that the problem was the size of the single query was over 8.5K and this caused the error. Reducing this sorted this out (increased the max number of users). I still need a way to increase this however
     
    uggers, Aug 26, 2009 IP