RequestHeader add <header name> <变量名>e
例如:RequestHeader add X-GEOIP_CITY %{GEOIP_CITY}e
参考:
apache手册
格式 | 描述 |
---|---|
%% | 百分号(%) |
%t | 接收到请求的微秒时间戳(相对...
我好晕哦,写了PHP文件,通过一个HTML 语句发送 到PHP 里,只能在MYSQL中写空行,但不能写入有数据的行,就是数据没有传送过去,是什么原因呢?
apache配置mod_status 要启用 server-status 必须首先加载 server-status 模块,你可以用以下命令查看是否已经加载了模块: /usr/local/apache/bin/httpd -l | grep mod_status.c 如果没有安装这个模块,那么就需要您重新编译这个模块了,进入 apache 的源码目录: cd /usr/local/src/httpd-2.2.14/modules/generators /usr/local/apache/bin/apxs -cia mod_status.c 这样模块就编译好了。查看一下 apache 的配置文件...
如同其他所有的网络服务一样,apache 同样使用各种安全性控制,例如存取地址控制和身份控制。这里我们先讲地址和目录控制。 apache 将目录作为单元来进行存取控制,每个目录在/etc/httpd/conf/httpd.conf 中 使用一个段落,首先的是/目录,这实际是设置缺省值: Options FollowSymLinks AllowOverride None 每个段落都是由这样的两组尖括号构成的行夹起来的,其中最主要的句子是Options,AllowOverride,...
怎么修改主页上内容? 主页放在那里? unable to load number from /home/yliu2/keys/serial 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/12044/showart_1981088.html
# # This is the main apache server configuration file. It contains the # configuration directives that give the server its instructions. # See 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u3/93926/showart_1872771.html
by
tingfengmanbu
-
Linux新手园地
-
2008-09-29 14:09:17 阅读(1346) 回复(3)
|