win2003安装apache2.4.4出现“由于应用程序配置不正确,应用程序未能启动”
[ 2013-04-28 14:28:55 | 作者: admin ]
“由于应用程序配置不正确,应用程序未能启动” 的问题,这是由于该版本采用vc9编译,而该win2003系统缺少运行库导致的,
可以安装
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en
可以安装
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en
apache 2.4.4 for windows版本下载
[ 2013-04-28 14:27:11 | 作者: admin ]
Below you will find 32 and 64 bit Windows installers for Apache HTTP
Server 2.4.4 (officially released on February 25, 2013) and 2.2.24
(officially released on February 26, 2013). These releases provide fixes
for quite a few bugs, some of which are security related. The official
changelogs can be found here (2.4.4) and here...
阅读全文…
阅读全文…
apache 禁止通过ip直接访问网站
[ 2013-04-28 14:24:22 | 作者: admin ]
如果服务器ip为211.11.11.11
下面这段虚拟主机放到作为第一个配置
下面这段虚拟主机放到作为第一个配置
<VirtualHost *:80>
ServerName 211.11.11.11
<Location />
Order deny,allow
Deny from all
</Location>
</VirtualHost>
ServerName 211.11.11.11
<Location />
Order deny,allow
Deny from all
</Location>
</VirtualHost>
nginx和apache记录访问者端口 remote port
[ 2013-04-28 14:19:30 | 作者: admin ]
nginx升级到 1.2.8 log_format可以使用 $remote_port 全局变量。apache下面关于环境变量的使用有些因素影响,http和https下不同,版本也有差异,需要参考apache文档来核实。
apache2.2、apache2.4可以使用 %{format}P 获取端口,format可以使用 local或者remote,远程端口就是 %{remote}p
例子:
http://httpd.apache.org/docs/2.2/mod/mod_log_config.html#logformat
http://httpd.apache.org/docs/2.4...
阅读全文…
apache2.2、apache2.4可以使用 %{format}P 获取端口,format可以使用 local或者remote,远程端口就是 %{remote}p
例子:
LogFormat "[%h]:%{remote}p %l %u %t \"%r\" %>s %b" common
更多设置可以参考 http://httpd.apache.org/docs/2.2/mod/mod_log_config.html#logformat
http://httpd.apache.org/docs/2.4...
阅读全文…
1