Tag: Apache

我怎样才能用Apache实现速率限制? (每秒请求)

什么技术和/或模块可用于实现强大的速率限制(请求|字节/ IP /单位时间)在Apache?

当重新启动apache(安装trac和mod_wsgi)时,“make_sock:无法绑定到地址:443”

我试图通过SSL安装trac和mod_wsgi。 我试图手动安装它,但这并没有很好的工作,所以我开始遵循这个: trac-on-ubuntu 我跳过了svn部分,因为我想用git来代替。 第一次编辑httpd.conf之后: WSGIScriptAlias /trac /var/trac/apache/trac.wsgi <Directory /var/trac/apache> WSGIApplicationGroup %{GLOBAL} Order deny,allow Allow from all </Directory> 我重新启动apache只得到这个错误: * Restarting web server apache2 (98)Address already in use: make_sock: could not bind to address [::]:443 [ OK ] 做这些没有显示。 netstat -anp | grep 443 fuser 443/tcp 这样做并没有产生任何东西,除了我跑的grep命令: ps -aux | grep httpd 为什么当没有任何东西出现时,别的什么东西在使用端口? 编辑:你们会笑这个。 我在ports.conf中有一个额外的listen […]

如何在Apache上默认启用完美的前向保密?

警告:请仅从以下答案中使用Apacheconfiguration的build议。 要使用哪种密码 – 安全规范会随着时间而改变,下面的一些安全build议已经过期。 在最近发生的事件之后,我一直在重新考虑我的Apache设置。 目前,我的apache站点configuration看起来像这样: <IfModule mod_ssl.c> <VirtualHost *:80> ServerName example.com ServerAlias www.example.com Redirect permanent / https://example.com </VirtualHost> <VirtualHost *:443> ServerAdmin webmaster@localhost ServerName example.com DocumentRoot /var/www-wordpress <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /var/www-wordpress> Options Indexes FollowSymLinks MultiViews AllowOverride FileInfo Order allow,deny allow from all </Directory> ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ <Directory "/usr/lib/cgi-bin"> AllowOverride None […]

Apache Tomcat应用程序的默认会话超时

在Tomcat5.5上部署的Web应用程序的默认会话超时是多less? 它是特定于浏览器吗? 在我的web应用程序中,缺省超时在web.xml和代码中都没有提及。

XAMPP:无法启动Apache(Windows 10)

我正在使用XAMPP,我可以启动Apache,但是,MySQL(PhpMyAdmin)启动! 当我开始时,我得到这个错误; 10:07:49 [Apache] Error: Apache shutdown unexpectedly. 10:07:49 [Apache] This may be due to a blocked port, missing dependencies, 10:07:49 [Apache] improper privileges, a crash, or a shutdown by another method. 10:07:49 [Apache] Press the Logs button to view error logs and check 10:07:49 [Apache] the Windows Event Viewer for more clues 10:07:49 [Apache] […]

什么特别使Node.js比Apache更具扩展性?

说实话,我还没有完全理解它 – 甚至我甚至都明白Node.js是如何工作的,作为使用事件模型的单个线程。 我只是不明白这比Apache更好,如果它是单线程的,它如何水平扩展。

内部错误500 Apache,但在日志中没有?

当我尝试将HTTP POST发送到我的应用中的特定地址时,出现500内部服务器错误。 我已经查看了虚拟主机文件中指定的自定义日志目录中的服务器日志,但错误没有显示在那里,所以debugging这是一个痛苦的屁股。 如何导致Apache将内部500错误logging到错误日志中?

Apache不会遵循符号链接(403 Forbidden)

我在Ubuntu上设置Apache时遇到了一些麻烦。 我一直在遵循这个指南 。 # /usr/sbin/apache2 -v Server version: Apache/2.2.17 (Ubuntu) Server built: Feb 22 2011 18:33:02 我的公共目录/ var / www可以成功地提供并执行放置在其中的PHP页面。 不过,我想在/ var / www中创build一个符号链接,指向我的主文件夹中的一个目录,并在那里提供页面。 [root /var/www]# ll total 36 drwxr-xr-x 3 root root 4096 2011-09-11 14:22 . drwxr-xr-x 14 root root 4096 2011-06-04 22:49 .. lrwxrwxrwx 1 root root 16 2011-09-11 13:21 about -> /root/site/about […]

如何selectJersey,Apache Wink和JBoss RESTEasy?

我刚刚听说了Apache Wink ,我想知道与Jersey或JBoss RESTEasy相比有什么不同。 其他两个不能做什么呢? 我们一直在使用泽西来进行一些内部项目,主要是因为它很简单,但我无法弄清楚是什么让这两个更好,我会考虑切换。 有没有人有任何利用这些填充的利基?

Apache httpd安装和安装

这是我第一次尝试以常规用户身份(非root)在本地安装Apache HTTP服务器。 我已经下载了Apache HTTP服务器的Apache 2.4.1版本[http://httpd.apache.org/download.cgi]。 但是,当我试图build立和安装本地在我的箱子,我得到以下错误: httpd/httpd-2.4.1 1059> ./configure checking for chosen layout… Apache checking for working mkdir -p… yes checking for grep that handles long lines and -e… /bin/grep checking for egrep… /bin/grep -E checking build system type… x86_64-unknown-linux-gnu checking host system type… x86_64-unknown-linux-gnu checking target system type… x86_64-unknown-linux-gnu Configuring Apache Portable Runtime library […]