After modified the file \apps\redmine\conf\httpd-vhosts.conf: <VirtualHost *:8080> ServerName redmine.example.com ServerAlias www.redmine.example.com ...
分类:
其他好文 时间:
2016-08-27 06:23:42
阅读次数:
199
1.打开Apache的配置文件 httpd.conf 查看虚拟主机是否已经打开 #Include conf/extra/httpd-vhosts.conf 把前面的#去掉。 2.打开apache\conf\extra\httpd-vhosts.conf 添加如下代码: <VirtualHost *: ...
分类:
其他好文 时间:
2016-08-14 23:42:28
阅读次数:
169
解决[warn] _default_ VirtualHost overlap on port 80, the first has precedence问题 在apache2的httpd.conf里新增加了1个VirtualHost,域名是www.ligh.com,此时,服务器总共2个VirtualH ...
分类:
其他好文 时间:
2016-08-11 22:25:33
阅读次数:
187
一种方法: 1,在httpd.conf 主配置问文件中定义监听端口 Listen 80 Listen 8080 2,在虚拟主机配置文件中添加如下,如下为参考配置: NameVirtualHost *:80<VirtualHost *:80> # ServerAdmin webmaster@dummy ...
分类:
Web程序 时间:
2016-08-09 00:05:07
阅读次数:
248
apache用Directory说明封装一组指令,使之仅对文件空间中的某个目录及其子目录生效语法<Directorydirectory-path>...</Directory>作用域serverconfig,virtualhost状态核心(C)模块coreapache用DirectoryMatch过滤不想显示的文件或者目录实例如下,在我的一个示例项..
分类:
Web程序 时间:
2016-07-22 19:38:44
阅读次数:
282
1,把httpd.conf中的Listen设置为你想改变的端口 2,将ServerName设为你要的网址及端口 3, <VirtualHost *:8080>DocumentRoot /usr/local/wwwServerName 127.0.0.1:8080DirectoryIndex inde ...
分类:
其他好文 时间:
2016-07-21 17:49:51
阅读次数:
95
目录:一、centos6使用httpd-2.2基于域名构建httpd服务二、centos7使用httpd2.4基于域名构建httpd服务三、centos6编译安装httpd-2.4基于域名构建httpd服务一、centos6使用httpd-2.2基于域名构建httpd服务:1、安装http服务:yum-yinstallhttpd2、编辑主配置文件开启NameVirtualH..
分类:
Web程序 时间:
2016-07-18 06:03:19
阅读次数:
342
本文继续浅谈httpd2.2相关配置,httpd-2.4的变化及相关配置,LAMP相关知识http2.2相关配置1.httpdstatus页面的展示查看status_module模块是否装载[root@web01tmp]#httpd-M|grepstatus
status_module(shared)
SyntaxOK全局配置文件打开如下配置即可,也可以在virtualhost中配置&..
分类:
Web程序 时间:
2016-07-15 14:00:30
阅读次数:
234
1.修改 /etc/httpd/conf/httpd.conf 添加一个Listen,如: 2.添加一个VirtualHost 3.为新端口添加防火墙规则 4.禁用selinux(如果不禁用,会无法重新启动apache) 方法1.关闭selinux 首先将SELINUX=enforcing添加注释 ...
分类:
Web程序 时间:
2016-07-15 00:04:26
阅读次数:
160
目录:一、httpd服务基本介绍二、httpd-2.2常用小选项配置三、httpd-2.2VirtualHost配置四、httpd-2.2的基于https的安全访问--------------------------------------一、httpd服务基本介绍:httpd是Apache超文本传输协议(HTTP)服务器的主程序。被设计为一个独立的运行的后台..
分类:
Web程序 时间:
2016-07-14 19:43:42
阅读次数:
566