
apache
文章平均质量分 70
yang_xu_1987
这个作者很懒,什么都没留下…
展开
-
apache配置虚拟主机
环境:apache源码安装 httpd-2.2.22.tar.gz iptables服务关闭路径:/usr/local/apache2/使用域名访问服务端:1、修改apache主配置文件/usr/local/apache2/conf/httpd.conf取消ServerName前面注释(为了能正常访问网页)。取消Include conf/extra/h原创 2017-08-24 15:26:42 · 456 阅读 · 0 评论 -
apache配置rewrite网页转发
rewrite配置网页转发:-------------------------------------------------------安装前模板生成配置:(其他见apach安装方式)./configure --enable-rewrite --enable-so--------------------------------------------------------修原创 2017-08-25 09:17:10 · 685 阅读 · 0 评论 -
linux下源码包安装apache
系统环境:CentOS 6.5 源码包:httpd-2.2.22.tar.gz卸载原有的apache1、查找原有安装的rpm -qa |grep httpd2、根据查出来的结果中删除rpm -e --nodeps httpd-tools-2.2.15-29.el6.centos.x86_64rpm -e --nodeps httpd-2.2.15-29.e原创 2017-07-31 09:14:38 · 4598 阅读 · 0 评论 -
apache优化
/usr/local/apache2/conf/extra/httpd-vhosts.conf 配置虚拟主机 ServerAdmin webmaster@dummy-host.example.com DocumentRoot "/usr/local/apache2/docs/www1" #主机目录 ServerName dummy-host.exampl原创 2017-08-24 10:13:01 · 238 阅读 · 0 评论