2012 年二月 一 二 三 四 五 六 日 « 一 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 近期评论
- wlx [微博 ] 发表在《google彻底被封?》
- snake 发表在《google彻底被封?》
- Andrew Pelt 发表在《debian testing上安装oracle 10g》
- tiplip 发表在《webmap.cn使用的WEBGIS技术》
- 求助Evolution问题!! 发表在《evolution crashed in gutsy alpha》
分类目录
标签
anjuta apache backup breezy c++ compile convert dapper debian dns edgy evolution feisty firefox flash gnome gobang GRASS gutsy humor intrepid Linux mailman MapServer mysql openoffice Oracle php phpbb postfix PostGIS postgresql qgis sarge scim skype subversion svn tomcat ubuntu utf8 westdc Windows wordpress 中文
Tag Archives: auth
apache2下使用mysql进行身份认证
服务器平台为ubuntu feisty,首先确认apache2已经安装好。 然后安装auth-mysql支持并启用此模块: sudo aptitude install libapache2-mod-auth-mysql sudo a2enmod auth_mysql 要建立一个数据库用于认证,并建立一个用户表存贮用户信息。 mysql -uroot create database svn; grant all on svn.* to svn@localhost identified by ‘mypwd’; flush privileges; use svn; create table auth( `username` varchar(25) NOT NULL default ”, `passwd` varchar(25) … Continue reading
限制apache某目录只允许某IP访问
比如安装的phpMyadmin,必须限制只有某些IP可以访问,因此就可以这样设置: 首先要设置网站允许.htaccess, AllowOverride All 然后定义目录下的.htaccess文件: Order Deny,Allow Deny from all Allow from 210.77.68.215