Monthly Archives: August 2008

Apache with cookie auth-memcache

1. download mod_authmemcookie_v1.0.2.tar.gz extract and  make install 2.run a memcached 3.  <Location />   Auth_memCookie_CookieName myauthcookie   Auth_memCookie_Memcached_AddrPort x.x.x.x:11211         # to redirect unauthorized user to the login page   ErrorDocument 401 “/gestionuser/login.php”         # to specify if the module … Continue reading

Posted in Apache, Linux | Leave a comment

apache authorization with mysql

1.download httpd-2.2.9,and install with   configure with  –enable-authn-dbd  –enable-dbd  –with-mysql 2.in virtual host directive DBDriver mysql DBDParams “host=x.x.x.x  dbname=ucenter user=secret pass=secret” #DBDPersist On DBDMin 4 DBDKeep 8 DBDMax 25 DBDExptime 300          <Location /test>         AuthType basic         AuthName “private area” … Continue reading

Posted in Apache, Linux | Leave a comment

svn set ingore proper

svn -R ps  svn:ignore “*” .

Posted in Linux | Leave a comment

lighttpd svn server

svn checkout svn://svn.lighttpd.net/lighttpd/trunk/

Posted in Linux | Leave a comment