在Windows上运行Apache 2.4.25的ApacheHaus版本。 使用Oracle Weblogic Server插件12.2.1.3解压缩\ fmw_12.2.1.3.0_wlsplugins_Disk1_1of1 \ WLSPlugins12c-12.2.1.3.0 \ WLSPlugin12.2.1.3.0 -Apache2.2-Apache2.4-Win64-12.2.1.3.0 \ lib到C :\ APPS \ Apache24 \ wl_plugin \ LIB 确保PATH包含C:\ apps \ Apache24 \ wl_plugin \ lib 设置apacheconfiguration来包含插件: LoadModule weblogic_module C:\apps\Apache24\wl_plugin\lib\mod_wl_24.so 启动httpd: C:\apps\Apache24\bin>httpd httpd: Syntax error on line 180 of C:/apps/Apache24/conf/httpd.conf: Cannot load C:\\apps\\Apache24\\wl_plugin\\lib\\mod_wl_24.so into server: The specified module could not be found. […]
我知道ssl_handshake_failure是一个通用的错误,但这是我最后的手段,因为我已经调查了这个问题三个星期。 我正在AIX服务器上部署Apache HTTPD服务器。 AIX没有标准的存储库,所以我从perzl.org/aix/的RPM软件包中安装了它 我很难解决所有的依赖,但最终我得到了它的工作。 我希望RPM不会让我这样做,没有所有适当的依赖。 当我只通过端口80使用HTTP时,Apache服务器工作得很好。当我尝试通过端口443连接到它时,问题就出现了。 我用下面的命令testing它: openssl s_client -state -connect 127.0.0.1:443 一旦我运行这个命令,我得到: CONNECTED(00000003) SSL_connect:before/connect initialization SSL_connect:SSLv2/v3 write client hello A OpenSSL然后等待大约两分钟,然后抛出以下错误: 804401144:error:140790E5:SSL routines:ssl23_write:ssl handshake failure:s23_lib.c:177: — no peer certificate available — No client certificate CA names sent — SSL handshake has read 0 bytes and written 305 bytes — New, (NONE), Cipher is […]
我有一个HTML服务器http://pp000c29784409.usask.ca/ ,我想使用ProxyPass,ProxyPassReverse和RewriteRule从Apache 2.4服务器反向代理。 这个想法是通过univers.mysite.org/repo(这是Apache服务器)显示来自http://pp000c29784409.mysite.org/的所有html内容。 为此,我已经在http.conf中设置了这个 <IfModule mod_proxy.c> RewriteEngine on RewriteRule ^/(images|javascripts|stylesheets)(.*) /repo/$1$2 SSLProxyEngine on ProxyVia On ProxyPass /repo http://pp000c29784409.mysite.org/ ProxyPassReverse /repo http://pp000c29784409.mysite.org/ </IfModule> 这工作除了在页面上的graphics IIS Windows服务器 </head> <body> <div id="container"> <a href="./reports"><img src="iis-85.png" alt="IIS" width="960" height="600" /></a> </div> </body> </html> 在上面的图像试图从pp000c29784409.mysite.org/iis-85.png 它应该是 pp000c29784409.mysite.org/repo/iis-85.png 这是我正在尝试使用重写,什么是正确的forms来做到这一点?
这是我的第一篇文章,是的,在这篇文章之前我已经阅读了很多其他的话题,我也尝试了很多次。 我的情况如下,我有2个公司的Apache服务器,networking请求到达路由器,它转向服务器1(Centos 6.5),服务器1redirect到服务器2(7)的一些链接。 像图像: https://imgur.com/GeEPTRf 我有一个服务器上安装了SSL的网站,我需要configurationWeb请求通过服务器1并redirect到它,但我不能。 目前我的configuration如下: 虚拟主机服务器1: ServerName www.relici.org.br ServerAlias relici.org.br * .relici.org.br SSLProxyEngine On <Location /> ProxyPass https://www.relici.org.br/ # (proxy for server 2) ProxyPassReverse https://www.relici.org.br/ </ Location> 服务器2上的虚拟主机: ServerName www.relici.org.br DocumentRoot /home/www/sites/relici/2_3 SSLEngine On SSLCertificateFile /etc/letsencrypt/live/www.relici.org.br/fullchain.pem SSLCertificateKeyFile /etc/letsencrypt/live/www.relici.org.br/privkey.pem SSLProxyEngine on <Directory "/home/www/sites/relici/2_3"> Options FollowSymLinks Includes AllowOverride None Allow from all Order allow, deny […]
我创build了一个小的LAMP服务器与Apache 2.4和PureFTP,但我已经configuration用户/ home / user1 / chmod权限用户名的文件夹:pureftp的用户名在这种情况下通过filezille我可以编辑和上传文件,但Apache无法阅读或写文件,如果configurationApache:Apache或根:所有的工作,但通过FIZILL我不能上传或编辑文件。 我不是很好的权限,这是我的第一个LAMP安装=) / home / username的文件,用户和组的文件夹755和644的文件权限是相应的用户。 用没有用户和没有组运行Apache etc / passwd for nobody:nobody:x:99:99:没有人:/:/ sbin / nologin etc / group for nobody:nobody:x:99: 请你帮帮我吗? 我使用Centos 7 x64。 谢谢。
我有一个特殊的问题,关于从特定的服务提供商的互联网连接的PHP会话迷路了。 我有PHP会话设置保存处理程序,并将会话值存储在数据库中。 include_once('class.sess.php'); $session = new Session; session_set_save_handler ( array(&$session, "open"), array(&$session, "close"), array(&$session, "read"), array(&$session, "write"), array(&$session, "destroy"), array(&$session, "gc") ); session_name("testme"); session_start(); ini_set('session.cache_limiter','private'); $permission="0"; if(isset($_SESSION['gateway'])) { // 除了4G连接提供商之外,所有连接提供商都能正常工作。 当我使用热点或USB共享login到一个页面时,它被redirect回login页面。 会话没有得到设置,如在铬开发工具中看到的。应用程序 – cookies。 我正在使用https链接login。 Web服务器是Apache / 2.4.18(Ubuntu)。 我search了很多,这里是一个几乎到现在我正在经历的链接。 https://www.drupal.org/node/1222276 这似乎是ISP的代理问题。 看起来像这样可以用Apache conf纠正。 但不知道如何? 我怎样才能解决这个问题? 完全困惑?
所以最近,我不得不重置我的服务器,因为一些问题和东西。 而现在,我一直在试图重新设置它,而这只是对我而言没有帮助。 我已经成功安装了httpd ,它可以与我的网站一起工作。 但是当我尝试添加一个SSL证书时,CentOS敢于骗我,它不存在。 这里是journalctl -xe的输出。 Sep 26 17:00:11 localhost systemd[1]: Starting The Apache HTTP Server… — Subject: Unit httpd.service has begun start-up — Defined-By: systemd — Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel — — Unit httpd.service has begun starting up. Sep 26 17:00:11 localhost httpd[5579]: AH00526: Syntax error on line 15 of /etc/httpd/enabled/msdfw.conf: Sep 26 17:00:11 localhost […]
我需要通过Apache删除更多的cookie,我尝试了这些方法,但他们不工作: SessionCookieRemove On Header unset Cookie Header unset Set-Cookie SessionCookieName cookie1 path=/;Expires="Thu, 01 Jan 1970 00:00:01 GMT" SessionCookieName cookie2 path=/;Expires="Thu, 01 Jan 1970 00:00:01 GMT" SessionCookieName cookie3 path=/;Expires="Thu, 01 Jan 1970 00:00:01 GMT" SessionCookieName * path=/;Expires="Thu, 01 Jan 1970 00:00:01 GMT" 任何想法?
我试图redirect一个文件从http到https使用.htaccess但它不工作。 奇怪的是,如果我添加/在它的工作原理的结尾。 我究竟做错了什么? RewriteEngine On RewriteBase / RewriteCond %{HTTPS} off [OR] RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteRule ^offers\.html/?$ https://%{HTTP_HOST}/offers.html [R=301,L] 谢谢
我在httpd-ssl.conf中有以下configuration NameVirtualHost *:8443 <VirtualHost _default_:8443> ServerName sub.domain1.com ServerAlias sub2.domain1.com SSLEngine on SSLCertificateFile "/path/to/file.crt" SSLCertificateKeyFile "/path/to/file.key" SSLCertificateChainFile "/path/to/chainFile.crt" # some other settings… </VirtualHost> <VirtualHost _default_:8443> ServerName www.domain1.com ServerAlias domain1.com SSLEngine on SSLCertificateFile "/path/to/file.crt" SSLCertificateKeyFile "/path/to/file.key" SSLCertificateChainFile "/path/to/chainFile.crt" Redirect permanent / http://www.domain1.com/ </VirtualHost> <VirtualHost _default_:8443> ServerName www.domain2.com ServerAlias domain2.com SSLEngine on SSLCertificateFile "/path/to/file.crt" SSLCertificateKeyFile "/path/to/file.key" SSLCertificateChainFile "/path/to/chainFile.crt" […]