文章分类 -  0.2 linux之lamp

摘要:## Virtual Hosts## If you want to maintain multiple domains/hostnames on your# machine you can setup VirtualHost containers for them. Most configurati 阅读全文
posted @ 2016-12-16 16:24 onlylc 阅读(86) 评论(0) 推荐(0)
摘要:有时候,我们需要给一些特殊的访问设置一个用户认证机制,增加安全。比如我们刚刚安装好的discuz论坛,是有一个管理后台的,虽然管理后台本身就有密码,但我们为了更加安全,可以再设置一层用户认证。 # vim /usr/local/apache2/conf/extra/httpd-vhosts.conf 阅读全文
posted @ 2016-12-16 16:23 onlylc 阅读(118) 评论(0) 推荐(0)
摘要:rpm -ivh "http://www.lishiming.net/data/attachment/forum/month_1211/epel-release-6-7.noarch.rpm"yum install -y libmcrypt-devel epel-releaseyum install 阅读全文
posted @ 2016-12-16 16:22 onlylc 阅读(99) 评论(0) 推荐(0)