Forum Moderators: phranque

Message Too Old, No Replies

HTACCESS problem

         

uggers

12:37 pm on Aug 24, 2009 (gmt 0)

10+ Year Member



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 the Browser Client Certificate.

SSLRequire %{SSL_CLIENT_S_DN_CN} =="(uggers)" \
or SSL_CLIENT_S_DN_CN} =="(uggers1)" etc etc
however, the list has now got to 150 users and works well, but putting anymore on the htaccess file and the htaccess file no longer works and the generic apache error message is displayed when trying to access the directory. The apache error logs states something like SSLRequire error. Any ideas how to resolve this? There seems to be some size limit on the htaccess file. I wander if there is a maximum size the htaccess file could be? Any ideas greatly appreciated.

Regards

jdMorgan

3:49 pm on Aug 24, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I don't know much about that module, but I've got working .htaccess files ranging from 12kB to 154kB. The maximum size of an .htaccess file is determined by filesystem restrictions (likely in the megabytes range), but even more by performance considerations, since .htaccess files must be re-compiled from text to executable form for each and every incoming HTTP request to the server.

Try didding around in the module documentation. There may be a "DN" limit defined there, and if so, possibly a work-around as well. (And in the spirit of full disclosure, I don't know what a DN is, so that's all I can suggest.)

Jim