码迷,mamicode.com
首页 >  
搜索关键字:httpd配置    ( 120个结果
httpd配置ResponseHeader
本文依据Apache的官方文档,给出如何在httpd.conf文件中配置response header的方案。 ...
分类:Web程序   时间:2017-05-10 00:17:02    阅读次数:272
Centos安装nginx反向代理服务器
实验环境:centos7.2,已安装httpd,80端口被占用。编辑httpd配置文件:#vim/etc/httpd/conf/httpd.conf找到Listen,修改httpd监听端口:重启apache服务:#systemctlrestarthttpd.service安装nginx:#yum-yinstallnginxnginx安装成功,验证配置文件及端口:#nginx-t如果安装完..
分类:其他好文   时间:2017-04-03 01:21:40    阅读次数:385
HTTPD配置笔记
将多个域名301重定向至一个域名添加访问域名的DNS记录,使之能解析至同一服务器;修改httpd的配置,允许网站目录下的.htaccess配置覆盖httpd的配置;编辑.htaccess,配置重定向域名。Example:使www.oimec.com.cn、www.oimec.cn、www.jicheng.cn三个域名301重定向至www.jicheng..
分类:Web程序   时间:2017-04-01 22:00:37    阅读次数:215
httpd启动报错httpd: Could not reliably determine the server's fully qualified domain name
安装完apache-httpd后,启动时报错如下:[root@pptapp]#servicehttpdstart Startinghttpd:httpd:apr_sockaddr_info_get()failedforppt httpd:Couldnotreliablydeterminetheserver‘sfullyqualifieddomainname,using127.0.0.1forServerName[OK]解决如下:1.编辑httpd配置文件,vi..
分类:Web程序   时间:2017-02-09 16:35:54    阅读次数:181
centos7服务器运行20个网站
1、[root@localhost ~]# yum -y install http* bind* 首先安装httpd和域名解析软件包2、[root@localhost ~]# vi /etc/httpd/conf/httpd.conf 修改httpd配置文件3、 DocumentRoot /www ... ...
分类:Web程序   时间:2017-01-25 12:45:24    阅读次数:311
httpd配置文件详解(v2.2)
# #ThisisthemainApacheserverconfigurationfile.Itcontainsthe #configurationdirectivesthatgivetheserveritsinstructions. #See<URL:http://httpd.apache.org/docs/2.2/>fordetailedinformation. #Inparticular,see #<URL:http://httpd.apache.org/docs/2.2/mod/di..
分类:Web程序   时间:2017-01-15 11:56:23    阅读次数:334
Centos7部署lamp: httpd2.4+fpm模式
httpd:192.168.1.200mariadb:192.168.1.202php:192.168.1.203使用yum安装一、安装并配置httpd:在192.168.1.200上操作yuminstall-yhttpdvim/etc/httpd/conf.modules.d/00-mpm.conf//启用event模式vim/etc/httpd/conf/httpd.conf//配置httpdhttpd-t//检查httpd配置systemctlstart..
分类:Web程序   时间:2017-01-03 08:26:46    阅读次数:645
Linux LVS+Keepalived+Httpd配置
NAT模式#!/bin/bash#开启director服务器上的路由转发功能:echo1>/proc/sys/net/ipv4/ip_forward#关闭icmp的重定向echo0>/proc/sys/net/ipv4/conf/all/send_redirectsecho0>/proc/sys/net/ipv4/conf/default/send_redirectsecho0>/proc/sys/net/ipv4/conf/eth0/se..
分类:Web程序   时间:2016-12-30 22:23:13    阅读次数:447
Linux系统下实现SVN + Apache + SSL服务器框架的架设
系统版本:CentOS 6.5 (一)使用yum安装软件 验证SVN是否安装成功:svn --version 出现上图类似的版本号信息,证明安装OK。 查看httpd配置文件/etc/httpd/conf/httpd.conf。 如果有以上mod_dav.so和mod_dav_fs.so两个文件的配 ...
分类:Web程序   时间:2016-12-21 20:49:27    阅读次数:144
httpd配置文件中常用模块详解一
本文对http2.2常用的模块作了总结注意:关闭selinux和iptables永久关闭:Vim/etc/sysconfig/selinux设置为disabledYuminstallhttpd-manual安装httpd手册ip/manual即可访问全局配置:主服务器段配置(或者虚拟主机配置,二者生效一个);全局配置:Listen80//可以监听多个端口Ke..
分类:Web程序   时间:2016-12-20 12:02:30    阅读次数:187
120条   上一页 1 ... 4 5 6 7 8 ... 12 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!