Articles of apache 2.2

在前面的Apache,在后面的Tomcat,但SSL不工作?

我将Apache设置为我的Web服务器,Tomcat通过mod_jk连接到Apache,因此用户不会与Tomcat交互。 我已经在Apache上设置了SSL,我可以用https://localhost命中,但是当我尝试在https://localhost/app上访问我的应用程序时,我得到一个directory not found错误。 赶上当我去经常http,我可以打的罚款: http://localhost/app 我需要编辑这个连接才能工作? 我已经取消了server.xml的AJP连接器的注释 我已经将我的虚拟主机添加到httpd.conf 我错过了什么?

Apache安装程序的问题

我目前正在使用: msiexec / i httpd.msi / passive ALLUSERS = 1 SERVERADMIN = admin @ localhost SERVERNAME = localhost SERVERDOMAIN = localhost SERVERPORT = 80 INSTALLDIR =%SYSTEMDRIVE%\ apache 要安装Apache没有太多的input,但是我不想安装.msi附带的Apache监视器。 我怎样才能做到这一点? 谢谢!

任何使用Chrome的JavaScript引擎的负载均衡器?

F5有TCL这是可怕的编程。 A10复制。 有没有任何可编程的负载均衡器在向前看? Node.js似乎已经开辟了道路,并certificate了它的工作原理,Google将继续保持JIT的前沿。

Apache RewriteRule用一个RewriteMapvariablesreplaceVAL参数给环境variables

我有一个Apache服务器,提供二进制文件到应用程序(而不是浏览器)。 发出请求的应用程序需要HEX格式的HTTP Content-MD5头文件。 Apache中的默认选项是Base64。 如果我将“ContentDigest on”添加到我的VirtualHost,我在Base64中得到这个头。 所以我写了一个Perl脚本,md5digesthex.pl,它给了我正是我想要的:hex格式的MD5,但我努力与RewriteRule让我的服务器发送结果。 这是我目前的重写配方: RewriteEngine on RewriteMap md5inhex prg:/www/download/md5digesthex.pl RewriteCond %{REQUEST_URI} ^/download/(.*) RewriteRule ^(.*) %{REQUEST_URI} [E=HASH:${md5inhex:$1}] Header set Content-MD5 "%{HASH}e" env=HASH 问题是,我似乎无法根据md5inhex映射函数的输出设置HASH环境variables。 看起来这种行为是不支持的,我在一个迷失,如何制定这个…

如何在CentOS 5.4上安装mod_dav_svn 1.6?

我试图在CentOS 5.4上安装mod_dav_svn ,这就是我所看到的: # yum –enablerepo=rpmforge install mod_dav_svn Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: mirrors.adams.net * base: mirror.sanctuaryhost.com * extras: mirror.sanctuaryhost.com * rpmforge: fr2.rpmfind.net * updates: mirror.steadfast.net Setting up Install Process Resolving Dependencies –> Running transaction check —> Package mod_dav_svn.x86_64 0:1.4.2-4.el5_3.1 set to be updated –> Processing Dependency: subversion = […]

404找不到存在的PL脚本!

我做了一个CGI脚本的GET请求,我得到一个404错误。 但是,我100%确定脚本是存在的,它有权限: -rwxr-xr-x 1 apache apache 6520 Sep 7 03:01 uu_ini_status_audios.pl 请求url是: http://mysite.com/cgi-bin/uu_ini_status_audios.pl?tmp_sid=893facacc5dc392ad0f4c91e6a9e8d40&rnd_id=0.12266222834382812 我得到的错误: The requested URL /cgi-bin/uu_ini_status_audios.pl was not found on this server. 这个用来为我工作之前,但我认为它停止工作后,我重新启动Apache所以也许这意味着它的一个configuration,我改变了? 我检查了Apache和PHP的错误日志,没有发现有用的帮助我解决我的问题! 我很感激这方面的帮助!

Apache和虚拟主机在OS X上的问题

我最近格式化和安装我的iMac。 我正在运行10.6.5。 在这种格式之前,我已经启动了默认的Apache Web服务器,并运行了多个虚拟主机,并且一切都运行良好。 格式化之后,我把所有的东西都备份起来了,现在Apache变得有趣了。 这里是我正在进行的描述。 我的Apache Web服务器的默认根目录指向一个外部硬盘驱动器。 在我的httpd.conf中,这里是我所拥有的: DocumentRoot "/Storage/Sites" 然后在下面几行: <Directory /> Options FollowSymLinks AllowOverride All Order deny,allow Allow from all </Directory> 然后在下面: <Directory "/Storage/Sites"> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny Allow from All </Directory> 在这个文件的最后,我已经注释到用户目录包括conf文件: Include /private/etc/apache2/extra/httpd-userdir.conf 并取消注释虚拟主机的conf文件: Include /private/etc/apache2/extra/httpd-vhosts.conf 继续,我有我的虚拟主机文件中的以下条目: <VirtualHost *:80> DocumentRoot "/Storage/Sites/mysite" ServerName mysite.dev </VirtualHost> 我的/ etc […]

通过代理修改页面内容

是否有可能出现以下情况:我想通过我的Web服务器访问第三方网站。 是否可以在中间重写所有请求到第三方.CSS文件到我的服务器上的文件?

Apache / Postfix / Cyrus – 如何限制访问某个域?

阿帕奇:我有一个托pipe多个域。 我有一个networkingpipe理软件监听端口3000和一个phpmyadmin。 我可以限制访问某个域名吗? 我的意思是说,example.com:3000将工作和notexample.com:3000不是? (与phpmyadmin相同) UPD:我有3个IP指向该主机。 Postfix / Cyrus:什么是正确的configuration拒绝邮件到甚至不存在的邮箱? (LDAP) 谢谢

与fcgid的Mindtouch – 快速CGI apache工作线程

任何人得到Dekiwiki / Mindtouch与fcgid模块运行? 我总是得到504和500。 mod_fcgid: can't apply process slot for /var/www/html/dekiwiki/index.php [Tue Dec 28 06:14:03 2010] [warn] (104)Connection reset by peer: mod_fcgid: read data from fastcgi server error. [Tue Dec 28 06:14:03 2010] [error] [client 92.75.107.53] Premature end of script headers: index.php 我目前正在摆弄SuExec和fast-cgi wrapper目录权限,因为我也使用了chroot的SFTP监狱。 有时关于进程槽的第一行现在不出现。 我用德语find了一个解决scheme,现在就开始工作。 http://debianforum.de/forum/viewtopic.php?f=8&t=122758&start=15