1、Apache\conf\httpd.conf去掉 #Include config/extra/httpd-vhosts.conf 前面的#2、Apache\conf\extra\httpd-vhosts.conf把 ServerAdmin webmaster@dummy-host.example...
分类:
Web程序 时间:
2014-11-19 00:12:25
阅读次数:
170
1、Rewrite规则简介:Rewirte主要的功能就是实现URL的跳转,它的正则表达式是基于Perl语言。可基于服务器级的(httpd.conf)和目录级的(.htaccess) 两种方式。如果要想用到rewrite模块,必须先安装或加载rewrite模块。方法有两种一种是编译apache的时候就...
分类:
Web程序 时间:
2014-11-18 17:28:59
阅读次数:
289
打开vi/usr/local/apache2/conf/httpd.conf找到下面两项把注释去掉LoadModulecgid_modulemodules/mod_cgid.s0LoadModuleactions_modulemodules/mod_actions.so3.重启apache/usr/local/apache2/bin/apachectlrestart
分类:
移动开发 时间:
2014-11-18 16:08:56
阅读次数:
156
apachectl 程序是apache服务器自带的一个脚本程序,被存放在bin目录中,它是用于 帮助管理员控制apache的后台程序httpd的工具 。你可以使用它来完成启动,停止,测试配置文件等工作。使用./apachectl -h参数可以获得它的帮助。apachectl程序的参数有:start,...
分类:
Web程序 时间:
2014-11-18 13:14:05
阅读次数:
140
很奇怪的一个问题,我以前从来都没有这样过!访问 http://localhost/ 提示 403 Forbbiden。
我之前的设置一直都是这样的:
httpd.conf
AllowOverride All
Options Indexes FollowSymLinks
Require all granted
extra/httpd-vhost.conf...
分类:
其他好文 时间:
2014-11-18 00:28:55
阅读次数:
837
要使用httpd模块,需要在脚本开头添加: require "httpd" httpd.pairs(apr_table) 用以遍历apr_tablefor key, value in httpd.pairs(t) do body end 例: 1 require "httpd" 2 loca...
分类:
Web程序 时间:
2014-11-18 00:20:57
阅读次数:
195
一.服务端安装配置:(1.)cobbler服务端(主机名为rhel4,ip地址为192.168.122.40)采用redhat6.4系统,部署自动安装redhat6.4客户端系统;(2.)保证cobbler服务端可以上外网,可以epel在线安装所需软件包;(3.)cobbler服务端安装epel:(4.)安装cobbler软件包(包含httpd..
分类:
其他好文 时间:
2014-11-17 19:39:01
阅读次数:
189
系统环境 RHEL5.4最小化安装(关iptables,关selinux) + ssh + yum一,安装必须的软件包. yum install subversion (SVN服务器) mysql-server (用于codestriker) httpd mod_dav_svn mod_perl (...
分类:
系统相关 时间:
2014-11-17 12:07:43
阅读次数:
322
http://apache.orghttp://httpd.apache.orghttps://www.apachefriends.orghttp://apache.osuosl.orghttp://tomcat.apache.org
分类:
Web程序 时间:
2014-11-17 10:38:44
阅读次数:
183
系统:CentOS6.52.6.32-431.el6.x86_64软件:httpd2.4.10服务器IP:192.168.1.241,172.16.0.1客户端IP:192.168.1.103,172.16.0.10控制页面属性的容器:<Directory"PATH"></Directory>#作用在文件系统的目录路径<Location"PATH"></Location>#作用在URL..
分类:
Web程序 时间:
2014-11-16 02:04:03
阅读次数:
396