Articles of Apache的2.2

mod_status不显示鼻祖IP

当使用mod_status来解决Apache 2性能问题时,我注意到我的一个Vhostsstream量很大,但是在“ Client ”列下而不是看到远程机器的IP地址,mod_status只提供“:: 1”。 那是什么意思? 是否有可能用这种方法伪装远程机器的IP地址?

Apache安装 – 更改目录的写入权限

我是一个新的seutp apache服务器,现在我正在build立一个bugzilla服务器。 我遵循这个指示http://www.bugzilla.org/docs/tip/en/html/installation.html#install-bzfiles ,其中说 “良好的位置要么直接在Web服务器的文档目录中,要么在/ usr / local中有一个到Web服务器的文档目录的符号链接,或者在Web服务器的configuration中有一个别名。” – 所以我把下载的bugzilla目录保存到/ srv /万维网 接下来,我按照这个“一旦所有的文件都在一个web可访问的目录中,让这个目录可以被你的web服务器的用户写入,这是一个临时的步骤,直到你运行checksetup.pl脚本,它locking你的安装。 —所以我看了看我的apache服务器进程,发现它运行的用户名是'wwwrun'(顺便说一下,谁创build了这个用户名?我刚刚用'sudo rcapache2 start'启动apache服务器),看来我需要使用chmod来使我的/srv/www/bugzilla-3.4.5可以通过'wwwrun'写入,那该怎么做? 谢谢

阿帕奇干扰平均在低负荷

Apache似乎有时停止响应,即使Apache进程仍在运行。 重新启动apache后,平均负载通常在几秒钟内从1到2到13到15。 这是什么原因,或者我怎么能找出为什么Apache停止服务? 我的httpd.conf是: <IfModule mpm_prefork_module> StartServers 8 MinSpareServers 5 MaxSpareServers 20 MaxClients 50 ServerLimit 50 MaxRequestsPerChild 4000 </IfModule> 它运行在EC2 c1.medium(1.7 GB内存)上, 谢谢

Apachenetworking日志“GET http / 1.1”200错误?

我有一些令人费解的(至less对我来说)在我的networking服务器日志中显示的错误。 令人费解的是他们显示了我的错误页面被引用,但是这个错误页面并没有显示在statcounter.com的命中中。 有人能告诉我这两种错误的区别吗? 还是只有一个“真正”的错误? 这是在WordPress,我有我的主题我的404.php文件redirect到一个静态的Wordpress页面在mydomain.com/error/ 前两个日志条目显示/ error /,但是我的/ error /页面上的“hit”未显示在我的webstats中。 被引用的页面 – / 2009/08 / delete-preference-files / – 存在,并在statcounter显示“hit”。 92.17.232.242 – – [13/Mar/2010:01:45:43 -0800] "GET /error/ HTTP/1.1" 200 4012 "http://mydomain.com/2009/08/delete-preference-files/" "Mozilla/5.0 (Windows;U; Windows NT 5.1; en-US; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8 (.NET CLR 3.5.30729)" 732 4432 92.17.232.242 – – [13/Mar/2010:01:47:11 -0800] "GET /error/ HTTP/1.1" 200 4012 "http://mydomain.com/wp-content/themes/default/style.css" […]

我如何在同一台服务器上运行JBoss Application Server和Apache?

如果在一台服务器上托pipe多个站点,那么如何能够将Apache用于PHP和Seam的JBoss。 Example: example.com -> servered using PHP example2.com -> servered using JBoss

debugging显示151请求/秒 – 2.7 GB /秒的Apache mod_status

我的一个networking服务器今天早上疯了,并显示“151请求/秒 – 2.7 GB /秒 – 140.7 MB /请求”正常是“11.1请求/秒 – 65.6 kB /秒 – 5.9 kB / 我甚至不认为我的服务器上有这种可能。 它也列出了这些url的奇怪符号,连接数据的传输量已经不在话下 246-0 -1286402072 0/0/0 ? 0.00 -1444841118 0 -5416403825852416.0 0.00 0.00 °Rk³ 247-0 18 0/0/0 ? -13112985.76 2094967848 0 -5428200825946112.0 0.00 0.00 248-2 23437 0/0/2 _ 0.00 0 0 0.0 0.00 -5340330065920.00 74.53.23.134 web2.mydomain.com OPTIONS / HTTP/1.0 […]

为什么这个过程继续显示在我的Apache服务器状态?

我一直在我的Apache服务器状态看到这个“..读..”过程,有没有人知道这是从什么? 看起来,当服务器性能下降,我看到一些这些,我很想知道他们的意思,以及如何(如果可能),以防止它。 服务器(3个Web服务器)正在运行RHEL,并正在托pipe一个PHP / MySQL应用程序。

内部服务器错误:服务器遇到内部错误或configuration错误!

Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the […]

Apache简单configuration问题:设置每用户目录权限被拒绝的问题

我只是在Fedora 13 Beta 64位上运行Apache 2.2。 我遇到了设置我的每个用户目录的问题。 目标是使localhost /〜用户映射到/ home /〜user / public_html。 我认为我有权限,因为我有755到/ home /〜用户,我有755到/ home /〜user / public_html /和我有777 / home /〜user / public_html /recursion的所有内容组。 我的mod_userdirconfiguration如下所示: <IfModule mod_userdir.c> # # UserDir is disabled by default since it can confirm the presence # of a username on the system (depending on home directory # permissions). […]

Apacheconfiguration问题 – 没有www的网站去默认站点

可能重复: 没有“www”的域名 给我的Apache“它的工作!” 页 我在下面包含了我的虚拟主机文件的副本。 (但是我现在隐藏了IP地址和域名) 我的问题是,以下工作:www.mydomainnamehere.org www.mydomainnamehere.com mydomainnamehere.com 这一个不起作用:mydomainnamehere.org – 而不是去下面列出的文档根,它去到默认站点的文档根。 什么可能导致这个? <VirtualHost [ipaddresshidden]:80> ServerAdmin [email protected] ServerName mydomainnamehere.org ServerAlias www.mydomainnamehere.org ServerAlias mydomainnamehere.com ServerAlias www.mydomainnamehere.com DocumentRoot /home/www/mydomainnamehere.org/html/ ErrorLog /home/www/mydomainnamehere.org/logs/error.log CustomLog /home/www/mydomainnamehere.org/logs/access.log combined </VirtualHost>