本文主要测试Redhat 6安装配置Apache httpd 2.2.31,内容包括:安装部署Apache 2.2.31、配置基于域名的虚拟主机、配置基于端口的虚拟主机、配置虚拟目录、修改默认页面和设置开机启动。测试环境:操作系统版本:Red Hat Enterprise Linux Server release 6.5 (Santiago),……继续阅读 » 1年前 (2021-03-09) 186浏览 0评论0个赞
文章防盗链地址:http://jackcui.blog.51cto.com/ 一、apache简介: Apache HTTPD又可以简称为httpd或者Apache,它是Internet使用最广泛的web服务器之一,使用Apache提供的web服务器是由守护进程httpd,通过http协议进行文本传输,默认使用80端……继续阅读 » 1年前 (2021-03-08) 170浏览 0评论0个赞
1.程序包编译 程序包编译安装: (需要gcc、make工具) 建议安装 &nb……继续阅读 » 1年前 (2021-03-08) 168浏览 0评论0个赞
前两天测试了在RedHat 6上安装配置Apache httpd 2.2.31(详见http://jiangjianlong.blog.51cto.com/3735273/1858453)后,再来测试一下在RedHat 7安装配置Apache httpd 2.4.23。本文的内容主要包括:安装部署Apache 2.4.23、配置基于域名的虚拟主机、配置基于端……继续阅读 » 1年前 (2021-03-08) 170浏览 0评论0个赞
配置文件目录:/apache1/conf/extra/httpd–vhosts.confhttpd-vhosts.conf文件中:[root@test extra]# grep -v "#" httpd-vhosts.conf |grep -v "^$"Na……继续阅读 » 1年前 (2021-03-08) 168浏览 0评论0个赞
打算写一篇关于httpd的文档,不由得就想到了TCP/IP协议、http协议、socket、域名解析、负载均衡……那就从这开始写吧,但是我又想到了更多:IPC、端口、httpd的工作模式、httpd的连接模式、虚拟主机、反向代理……想了这么多,我居然不知道该如何下笔了。于是心里最底层的懒散就开始作祟了,进而……继续阅读 » 1年前 (2021-03-07) 180浏览 0评论0个赞
## This is the main Apache HTTP server configuration file. It contains the# configuration directives that give the server its instructions.# See <URL:http://httpd.apache.o……继续阅读 » 1年前 (2021-03-07) 197浏览 0评论0个赞
源码安装 源码包: httpd-2.2.29.tar.bz2 环境需求 安装 Development Tools 开发工具包。 一 、安装Development tools 开发工具包 yum groupinstall “Devel……继续阅读 » 1年前 (2021-03-07) 171浏览 0评论0个赞
# Virtual Hosts## Required modules: mod_log_config# If you want to maintain multiple domains/hostnames on your# machine you can setup VirtualHost containers for them. Most configur……继续阅读 » 1年前 (2021-03-07) 176浏览 0评论0个赞
apache 2.4 配置httpd:添加域名禁止IP访问网站 一般来说,网站可以用域名和IP来访问。你的网站可以通过IP直接访问,本来这没什么问题,但是会有些隐患:由于搜索引擎也会收录你的IP地址的页面,所以同一个页面搜索引擎会重复收录,造成页面的权重不如单个收录高。域名恶意指向的可能:还记得google.com.sb 事件吗?google.com.s……继续阅读 » 1年前 (2021-03-07) 160浏览 0评论0个赞