Articles of apache 2.2

什么是分路testing的最佳服务器configuration?

对于这个问题,我远离Apache或任何服务器的专家,所以我很抱歉,如果这个问题措辞不好,可能是。 我们一直依靠供应商进行分路testing (又名“ABtesting”)。 如果你不熟悉这个术语,那么这是一种营销研究的forms,你可以稍微修改一个网页(通常是离转换点最近的一个网页),比如说,通过改变“立即购买”的位置,button或其颜色/对比度/纹理,然后基于随机select将这两个页面中的一个提供给给定的用户。 我们自己做分裂pathtesting,我怀疑我们可以做得更便宜,也增加周期时间。 什么是这些testing的最佳设置? “最佳”是基于以下标准: 如何快速/容易地build立新的testing并将其联机; 和 对整体网站性能的影响最小

在CentOS服务器上安装Apache + PHP

我正在尝试使用YUM在CentOS上安装Apache和PHP,但不断收到这些错误。 任何人都知道什么是错的? 谢谢! Loading mirror speeds from cached hostfile * c5-testing: dev.centos.org Setting up Install Process Parsing package install arguments Resolving Dependencies –> Running transaction check —> Package httpd.i386 0:2.2.8-1.el5s2.centos set to be updated –> Finished Dependency Resolution Dependencies Resolved ============================================================================= Package Arch Version Repository Size ============================================================================= Installing: httpd i386 2.2.8-1.el5s2.centos c5-testing 1.0 M Transaction […]

初学者如何parsing访问域名parsing为Web服务器IP?

我有一个Apache Web服务器托pipe几个Django网站使用相同的域名,但不同的子域: proj1.example.com proj2.example.com proj3.example.com 上面每个的Apacheconfiguration文件开始如下所示: <VirtualHost *:80> ServerName proj1.example.com 假设服务器的外部IP为200.xxx ,内部IP为10.xxx如果要将新的子域名(proj4.example.com)添加到服务器,应使用哪两个IP? 我通常做的Web开发和基本的Apacheconfiguration,我仍然模糊了以后发生的事情。 有人可以给我一个彻底的解释,什么需要设置和发生了什么事情后,我已经设置了新的网站的Apacheconfiguration文件?

在Linux / Ubuntu的耐克Apache2,我怎么find我的默认访问日志和错误日志保存在哪里?

我刚刚通过aptitude在我的unix上安装了Apache2。 默认日志保存在哪里?

Proxy Jetty到Apache

我有一个由8080端口上的jetty服务的站点,而apache则是80个redirect到docker的请求。 我的问题是,当我closuresdocker进行维护或重新启动,并在期间任何一个尝试访问网站,他们得到代理不可达错误的预期,但即使在docker备份和服务连接,他们仍然让代理不可达错误直到我重新启动Apache。 谁能告诉我这是为什么发生或这是正常的?

由于计划外的重新启动,无法访问端口80上的Debian服务器

我有一个在Debian上运行Rapidswitch的VPS。 服务器运行良好,通过Apache2提供站点,直到工程师错误地切断电源线,使服务器脱机。 由于他们已经解决了电源故障,我一直无法通过我的浏览器访问服务器上的任何网站。 我可以ping站点和SSH到服务器。 我已经尝试在服务器上的TELNETing端口80,并没有得到任何回应。 我还发现MySQL在非计划关机后已经损坏,我不得不修改my.cnf文件以使其重新工作。 ps aux显示Apache的多个实例正在运行。 Rapidswitch拒绝支持这个问题,声称它可能与防火墙设置有关,但是我没有改变服务器上这些行的任何内容。 任何想法修复或进一步debugging将不胜感激!

带有Querystring的Apache RewriteRule

我有这样的重写: RewriteRule /products.php?id=123&t=12345 /product/New-Product-Name 如果我打开RewriteLog ging,然后翻转关卡,就会得到以下结果: applying pattern '/products.php?id=123&t=12345' to uri '/products.php' 为什么不查看完整的uri(包括查询string)?

Apache2 Modpython:IOError:写入失败,客户端closures连接

这是错误的: [Mon Mar 01 12:19:50 2010] [error] [client XXX.XXX.248.60] mod_python (pid=9528, interpreter='realpage.com', phase='PythonHandler', handler='django.core.handlers.modpython'): Application error [Mon Mar 01 12:19:50 2010] [error] [client XXX.XXX.248.60] ServerName: 'realpage.dom' [Mon Mar 01 12:19:50 2010] [error] [client XXX.XXX.248.60] DocumentRoot: '/htdocs' [Mon Mar 01 12:19:50 2010] [error] [client XXX.XXX.248.60] URI: '/' [Mon Mar 01 12:19:50 2010] [error] [client XXX.XXX.248.60] Location: […]

无法在Windows XP上使用SSL与SVN + Apache2一起使用

我有一个Windows XP机器,并使用BitNami与Apachebuild立一个SVN服务器。 我可以通过HTTP访问它,一切正常。 我试图build立SSL,但我一定是做错了。 C:\>svn co http://localhost/subversion c:\temp\test_nossl AC:\Temp\test_nossl\test Checked out revision 1. C:\>svn co https://localhost/subversion c:\temp\test_ssl svn: OPTIONS of 'https://localhost/subversion': SSL negotiation failed: SSL error: unknown protocol (https://localhost) 另外,当我尝试访问使用我的网页浏览器时,我得到这个错误: An error occurred during a connection to localhost. SSL received a record that exceeded the maximum permissible length. (Error code: ssl_error_rx_record_too_long) 现在,我认为我很好地遵循了设置SSL的方向。 我使用OpenSSL生成了自签名证书,并将server.key放在\ conf \ […]

Apache在重写时对URL进行编码

我在修改URL时遇到了麻烦。 我的规则工作正常,但他们编码GET参数。 / myurl / search?text = accèsbecome / myurl / search?text = acc%25C3%25A8s 我的search引擎不能使用这个参数,我不能在POST方法中传递它们。 我怎样才能摆脱这种编码? 这是我的.htaccess的内容: RewriteEngine On RewriteRule ^ var /.* – [L] RewriteRule ^ design /.* – [L] RewriteRule ^ share / icons /.* – [L] RewriteRule ^ sitemaps /.* – [L] RewriteRule ^ kernel /.* – [L] RewriteRule ^ extension /.* […]