![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Apache Httpd
spy2048
这个作者很懒,什么都没留下…
展开
-
Apache配置
配置文件路径yum安装 nano /etc/httpd/conf/httpd.confDirectoryIndex说明:配置目录默认页面示例:DirectoryIndex index.html index.phpSetHandler说明:配置文件格式处理器示例:<FilesMatch \.php$> SetHandler "proxy:fcgi://127.0.0.1:9056"</FilesMatch>...原创 2021-05-24 00:14:56 · 104 阅读 · 0 评论 -
CentOS7 yum安装Apache Httpd配置虚拟主机
软件环境系统:CentOS7Apache Httpd版本:2.4.6-89.el7.centos.1Apache Httpd安装方式:yum安装1. 复制虚拟主机配置文件cp /usr/share/doc/httpd-2.4.6/httpd-vhosts.conf /etc/httpd/conf.d/2. 编辑虚拟主机配置文件vi /etc/httpd/con...原创 2019-08-23 18:37:34 · 2246 阅读 · 0 评论 -
CentOS7源码安装Apache Httpd配置rewrite
系统:CentOS7Apache Httpd版本:2.4.41Apache Httpd安装方式:源码安装安装rewrite安装Apache时增加–enable-rewrite参数./configure --enable-rewrite编辑httpd.confvi /usr/local/apache2/conf/httpd.conf去掉 #LoadModule rewr...原创 2019-08-25 21:18:09 · 494 阅读 · 0 评论 -
CentOS7源码安装Apache Httpd
软件环境系统:CentOS7Apache Httpd版本:2.4.411. 安装依赖包yum install apr-util-devel pcre-devel2. 下载Apache Httpd Serverwget https://mirrors.tuna.tsinghua.edu.cn/apache/httpd/httpd-2.4.41.tar.gz3. ...原创 2019-08-23 13:30:36 · 450 阅读 · 0 评论