ITeye博客

apache

共 4 篇文章

"HTTP proxy problem – Permission denied: proxy: HTTP: attempt to connect to "

Problem: Few days back we were working with Apache web server and were using it for proxy. We want to use HTTPD for directing requests to 8080 port where Apache tomcat was running. We configured the proxy settings successfully and it was working perfect. Following is the example of settings for pro…

2012-10-17 10:22 · apache

浏览器自动识别编码问题

由于web应用页面编码使用的gbk,但web服务器php的编码是utf-8,所以出现浏览器自动识别编码问题. 解决办法: php.ini ; PHP's default character set is set to empty. ; http://php.net/default-charset ;default_charset = "iso-8859-1" ;default_charset = "utf-8" default_charset = "gbk"

2012-06-27 17:03 · php · apache

apache ab压力测试

1. apache ab压力测试 以前安装好APACHE总是不知道该如何测试APACHE的性能,现在总算找到一个测试工具了。就是APACHE自带的测试工具AB(apache benchmark).在APACHE的bin目录下。 格式: ./ab [options] [http://]hostname[:port]/path 参数: -n requests Number of requests to perform //在测试会话中所执行的请求个数。默认时,仅执行一个请求 -c concurrency Number of multiple requests to make //一次产生的请求个…

2011-12-30 17:35 · apache

Apache的web 用户登录配置

Apache服务器已经内置用户验证机制,大家只要适当的加以设置,便可以控制网站的某些部分要用户验证。 [b]第1步:[/b] 我们在/usr/local/apache/htdocs/(apache的主页根目录)下建立一个demo目录 [code="cmd"]mkdir /usr/local/apache/htdocs/demo[/code] [b]第2步[/b] 然后我们编辑httpd.conf 添加 [code="txt"] Alias /demo "/usr/local/apache/htdocs/demo" Options Indexes MultiViews AllowOverrid…

2010-09-09 16:34 · apache · C · Apache · C++ · C# · Web