我们正在尝试configurationApache HTTPd以使用我们拥有的JKS密钥库文件中的SSL证书。 由于我们只需要JKS(www.MySite.com)中的一个证书,而不是其他证书(如test.MySite.com),我们如何指定要导出的正确证书对呢? 这是我们正在使用的命令。 keytool -importkeystore -srckeystore MyKeystore.jks -srcstoretype JKS \ -destkeystore keystore.p12 -deststoretype PKCS12 这似乎从JKS文件中select一个(随机?)来导出。 而不是我们想要的…. 原谅我,如果我有这个错误,SSL是摆脱我的舵手。 谢谢你的帮助。
好吧,不知道为什么这是发生。 所以,我收到消息 The Alias directive in /etc/httpd/conf.d/awstats.conf at line 3 will probably never match because it overlaps an earlier Alias. 和 The Alias directive in /etc/httpd/conf.d/welcome.conf at line 18 will probably never match because it overlaps an earlier Alias. 但是这里是我的/httpd/httpd.conf文件的前15行 ServerSignature Off ServerTokens Prod ServerRoot "/etc/httpd" Listen *:80 Listen *:443 User apache Group apache ServerAdmin […]
为了打击垃圾邮件,AOL.com和Yahoo.com(以及其他一些大玩家)都改变了他们的电子邮件接收政策,有效地阻止了客户从邮件列表中接收电子邮件的能力,这些邮件列表是以非常合理的方式configuration的,实际上摧毁了世界各地数以千计的电子邮件列表。 像我这样的人一直渴望让我们的邮件列表恢复正常运行,为了解决这个问题,邮递员们显然推出了一个新的版本 – 非常值得赞赏。 但是,根据我的networkingsearch,许多人遇到了这个版本的错误或错误,就像我一样。 当你遇到这个问题时,它是通过networking界面,这是用户看到的: 在Mailman版本2.1.18-1中的错误 我们很抱歉,我们遇到了一个错误! 请通知网站pipe理员这个问题的网站。 打印traceback和其他系统信息已被明确禁止,但网站pipe理员可以在Mailman错误日志中find这些信息。 除了Yahoo.com和AOL.com的行为非常糟糕,我们现在也有这个错误,我们需要弄清楚如何处理。 显然有一个新的bug修复版本专门用来解决这个问题,但是它还没有准备好用于我的平台,而且我不一定需要从源头上构build它。 太痛苦了! 如果你做一个networkingsearch,你会发现很多人发布他们遇到这个问题,到目前为止,我没有find任何人发布解决scheme。 …我不是Python的专家,但我很勇敢,开始尝试和诊断错误。 怀疑文件权限问题并没有太长的时间。 而且,大胆的尝试了一个解决scheme,它的工作……我会回答我自己的问题 – 只留下面包屑给其他可能遇到同样问题的人。
我希望有人能够解释这个问题,我没有在别处解决的运气。 我们正在运行一个用于基本负载平衡的Apache(2.2.15)服务器,但最终使用ProxyPass指令到我们的各种后端服务器。 问题似乎是Apache“随机”不再具有正确加载的特定虚拟主机文件(或者更可能是我们在不知不觉中造成这种情况),并且我们正在看到来自Apache的404s或代理错误。 在error_log中没有错误,我也确认httpd -S仍然显示虚拟主机加载,但好奇的是,如果我发出一个httpd重新加载,它又开始工作。 该服务器有〜2GB的可用内存。 我们在我们的httpd.conf文件中包含了vhosts / active指令,并且在那个目录中有符号链接到实际的vhostconfiguration文件(不要相信这是相关的但是想要透露),而且我们正在加载大约40个不同的vhost CONFIGS。 下面是一个例子,从一个特别的发生相对比较顺利(也可能值得一提的是,似乎只有像这样的确定的虚拟主机文件): <VirtualHost 10.10.0.77:80> ServerName url.mysite.com ServerAlias url Options +FollowSymLinks ProxyPreserveHost On ProxyPass / http://hostname.internaldomain.local:8081/ ProxyPassReverse / http://hostname.internaldomain.local:8081/ </VirtualHost> <VirtualHost 10.10.0.77:443> ServerName url.mysite.com ServerAlias url RewriteEngine On SSLEngine on SSLProxyEngine on SSLProxyVerify none SSLCertificateFile /etc/httpd/conf/ssl/mycert.com.crt SSLCertificateKeyFile /etc/httpd/conf/ssl/mycert.key SSLCertificateChainFile /etc/httpd/conf/ssl/mycert_chain.crt Options +FollowSymLinks ProxyPreserveHost On ProxyPass / http://hostname.internaldomain.local:8081/ […]
我想要做的是添加一个新的域到我的VPS。 所以我给我的httpd.conf添加了一个新域名,并更新了我的注册商的相应域名服务器。 我在httpd.conf文件中使用了这个代码: <VirtualHost *:80> ServerAdmin emanuel@*****.net DocumentRoot /var/www/example.ro ServerName www.example.ro ServerAlias example.ro ErrorLog /var/www/example.ro/error.log CustomLog /var/www/example.ro/requests.log common <Directory /var/www/example.ro> <IfModule mod_rewrite.c> Options -MultiViews RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L] </IfModule> </Directory> </VirtualHost> 我等了一天,以确保DNS传播是好的,但似乎这个域没有绑定到任何DNS。 当我尝试ping域名时,得到“Ping请求未find主机example.ro,请检查名称并重试”。 我错过了什么吗? 我是服务器configuration的初学者
错误信息 Failed actions: httpd_monitor_5000 on abc-zabserver-b 'not running' (7): call=65, status=complete, last-rc-change='Wed Jul 15 21:44:43 2015', queued=0ms, exec=8ms 个人身份 [root@abc-zabserver-b ~]# pcs status Cluster name: abc-zabvip Last updated: Wed Jul 15 21:50:52 2015 Last change: Wed Jul 15 20:38:07 2015 Stack: cman Current DC: abc-zabserver-b – partition with quorum Version: 1.1.11-97629de 2 Nodes configured 3 […]
有没有办法“解开”一个任意的Apache指令,比如通过逐字重复,而是用Unset或前面的东西来Unset呢? 举例来说,在服务器configuration级别上我有: ScriptAliasMatch "^/cgi-bin(.*)" "/usr/local/apache/cgi-bin$1" 在虚拟主机之一,我希望能够像下面这样: Unset ScriptAliasMatch "^/cgi-bin(.*)" "/usr/local/apache/cgi-bin$1" 如果这个指令有一个特定的方法,那么我对这个指令很感兴趣(我能想到的最好的方法就是通过mod_rewrite来阻止对这个模式的访问),但是我特别感兴趣的是,一个方法来解决,因为这可能是方便了解未来。
我如何添加PHP来处理没有任何扩展名的文件? 有没有“DefaultHandler”指令? 在Apache 2.2.29中,使用PHP 5.5,以下不起作用: DefaultType application/x-httpd-php DefaultType application/x-httpd-php55 这两者都没有工作。 在Apache 2.2.21和PHP 5.3中,第一个指令用于没有任何毛刺的工作。 Google一无所得 谢谢你的指点!
我有一个关于kerberos / httpd / RHEL的问题 系统1 这是有问题的系统。 OS: RHEL 6.6 Kernel: 2.6.32-431.29.2.el6.x86_64 CPU: Intel Xeon X5570 在服务器上运行一个kerberized网站。 系统2 这个系统使用相同的Kerberosconfiguration。 OS: RHEL 6.5 Kernel: 2.6.32-431.23.3.el6.x86_64 CPU: Intel Xeon E5-2697 还运行一个kerberized网站。 问题 当用户访问网站时,以下消息显示在apache错误日志(LogLevel debug)中,用户将收到“Internal Server Error”(内部服务器错误)页面: [Tue Aug 07 11:22:03 2015] [debug] src/mod_auth_kerb.c(1944): [client 10.70.30.50] kerb_authenticate_user entered with user (NULL) and auth_type Kerberos [Tue Aug 07 11:22:03 […]
我目前有example.com指向服务器之一。 我想从一个不同的目录(/ WebData)服务器example.com。 我通过编辑httpd.conf来做到这一点 http://pastebin.com/UjHhRNTX 我这个按需要工作。 然后我发现我需要将website.org添加到服务器。 于是我挂载了另一个磁盘,并创build了一个名为/ WebDataWebsite的目录 并使用以下VHost创build/etc/httpd/conf.d/websiteorg.conf: http://pastebin.com/GTmqtABf <VirtualHost *:80> DocumentRoot "/WebDataWebsite" ServerName website.org ServerAlias www.website.org <Directory "/WebDataWebsite"> Require all granted </Directory> </VirtualHost> 出于某种原因,所有到example.com和website.org的stream量都被引导至/ WebDataWebsite中的index.htm 我做错了什么? 如何使WebData(在httpd.conf中)成为默认的网站,但用VHOST过滤servername website.org?