配置apache让用户登录

安装配置svn时得到了启发,当用户访问某页面时,如果要让用户输入用户名和密码,可以配置如下: <Location /XXX>   AuthType Basic   AuthName "AUTH NAME"   AuthUserFile /etc/auth-file   Require valid-user </Location> auth-file可以通过htpasswd生成, 也可以通过这个命令增加用户: 如 htpasswd -cm /etc/svn-auth-file gene htpasswd -m /etc/svn-auth-file pgj 我的svn在httpd.conf里的配置如下: <Location…
配置apache让用户登录Read More

启动apache出错 undefined symbol:sqlite3_open_v2

# service httpd start Starting httpd: httpd: Syntax error on line 206 of /etc/httpd/conf/httpd.conf: Cannot load /usr/lib/httpd/modules/mod_dav_svn.so into server: /usr/local/svn/lib/libsvn_subr-1.so.0: undefined symbol: sqlite3_open_v2                                                                                                 [FAILED] 安装svn后,启动apache时,出现了上面的错误, 在网上找好久没找到答案,后来把 sqlite lib的路径加入到ld.so.config就行了, #…
启动apache出错 undefined symbol:sqlite3_open_v2Read More