Apache配置文件详解之httpd.conf(2)一.<directory></directory>语指令句(说明:<directory>path</directory>主要是对目录文件访问权限的控制)我们都知道Apache配置文件:httpd.conf文件中有这么几行内容,如下<Directory/>AllowOverridenone..
分类:
Web程序 时间:
2015-07-29 06:35:32
阅读次数:
138
1、404跳转: DirectoryIndex index.php index.html /error.php#/error.php是apache的根目录2、apache配置段:(1)目录权限限制Alias /dir/ "/var/www/html" #虚拟目录即访问dir的时候跳转到/var/ww...
分类:
Web程序 时间:
2015-07-28 18:04:52
阅读次数:
156
httpd:Apache超文本传输协议服务器,是Apache超文本传输协议(HTTP)服务器的主程序。被设计为一个独立运行的后台进程,它会建立一个处理请求的子进程或线程的池。httpd的特性:1)高度模块化:核心+模块的方式2)DSO(DynamicSharedObject):支持动态装卸载3)MPM:MultipathProces..
分类:
Web程序 时间:
2015-07-17 22:57:02
阅读次数:
204
GLOBAL PARAMETERS(全局参数)The first parameters in the file (before a [module] header) are the global parameters.文件开始部分是全局参数(在module参数上方)You may also incl...
分类:
其他好文 时间:
2015-07-17 11:49:43
阅读次数:
198
sphinx的配置文件是在配置的时候最容易出错的了:我们先要明白几个概念:source:数据源,数据是从什么地方来的。index:索引,当有数据源之后,从数据源处构建索引。索引实际上就是相当于一个字典检索。有了整本字典内容以后,才会有字典检索。searchd:提供搜索查询服务。它一般是以deamon...
分类:
其他好文 时间:
2015-07-14 09:52:33
阅读次数:
305
路径:/usr/local/php/etc/php.iniphp用“;”作为“注释”符号,shell用“#”作为“注释”符号;编辑php.ini[root@LAMPLINUX~]#vim/usr/local/php/etc/php.ini1.查询/disable_functions设置禁用函数disable_functions=eval,assert,popen,passthru,escapeshellarg,escapeshellc..
分类:
Web程序 时间:
2015-07-11 18:46:06
阅读次数:
148
rsync服务器端配置文件详解[root@ju~]#vim/etc/rsyncd.conf
uid=root#rsync使用的用户
gid=root#rsync使用的组
usechroot=no#rsync的一个安全配置,如果为true,daemon进车会在给client端传输文件前chroottothepath。一般在内网不用配置
maxconnections=100#设置最大连接数,默..
分类:
其他好文 时间:
2015-07-11 06:47:40
阅读次数:
144
Apache配置文件详解之httpd.conf(1)一.Apache主配置文件为:http.conf文件,下面我们来依次介绍httpd.conf文件中每一项说明1.1ServerRoot配置【ServerRoot""主要用于指定Apache的安装路径,此选项参数值在安装Apache时系统会自动把Apache的路径写入。Windows安装时,该选项的..
分类:
Web程序 时间:
2015-07-10 19:17:23
阅读次数:
160
一、安装Nginx二、Nginx编译选项三、Nginx进程管理命令四、Nginx配置文件解析一、安装Nginx1、提前安装所需软件依赖包yuminstall-ygccpcrepcre-developensslopenssl-develgdgd-develperlperl-ExtUtils-Embed2、下载Nginx源码安装包wgethttp://nginx.org/download/nginx-1.4.0.t..
分类:
其他好文 时间:
2015-07-08 22:55:12
阅读次数:
258
redis配置文件redis.conf详细说明...
分类:
其他好文 时间:
2015-07-08 18:52:45
阅读次数:
116