Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 72E489713 for ; Fri, 17 Feb 2012 09:58:46 +0000 (UTC) Received: (qmail 43459 invoked by uid 500); 17 Feb 2012 09:58:43 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 43438 invoked by uid 500); 17 Feb 2012 09:58:43 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 43429 invoked by uid 99); 17 Feb 2012 09:58:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Feb 2012 09:58:43 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of andriu.one@gmail.com designates 74.125.82.43 as permitted sender) Received: from [74.125.82.43] (HELO mail-ww0-f43.google.com) (74.125.82.43) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Feb 2012 09:58:37 +0000 Received: by wgbdr13 with SMTP id dr13so2095263wgb.12 for ; Fri, 17 Feb 2012 01:58:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=bIjAcv6+ywkS2uW/lctaFFi7oR+DFC3w0JIDQvKfvs0=; b=j6qtY3FS5V6YhZ8p0LR2WHe7tDY0Cd4ziPRToUNCNdac/cQt0cVXofe/CyjXoKklwu e2oaGTFJXbkyrfp+w4Bil5OZ5WUjEmE0Gky+SFTUrnMG4TarKWGhqK0fhWaFH7+iuyKb L+n4IJKmOVdNWhUCh+c+rkZpYdAp1+idrayZQ= Received: by 10.180.74.177 with SMTP id u17mr2447820wiv.13.1329472697184; Fri, 17 Feb 2012 01:58:17 -0800 (PST) MIME-Version: 1.0 Received: by 10.227.195.209 with HTTP; Fri, 17 Feb 2012 01:57:57 -0800 (PST) In-Reply-To: References: From: Andres Aguado Date: Fri, 17 Feb 2012 10:57:57 +0100 Message-ID: To: users@httpd.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Reverse proxy problem Sorry Tom, here is an important piece of httpd-ssl.conf SSLEngine on #Behind proxypass sentences SSLCertificateFile "C:\Program Files (x86)\Apache Software Foundation\Apache2.2\conf\ssl\server.crt" SSLCertificateKeyFile "C:\Program Files (x86)\Apache Software Foundation\Apache2.2\conf\ssl\server.key" .crt and .key files has been created and are present in specified directory Actuallly, redirect to https is disabled, and i'm not connecting to http, i'm connecting to https://ipreverseproxy:8443 directly. Regards Andres 2012/2/17 Tom Evans : > On Thu, Feb 16, 2012 at 2:31 PM, Andres Aguado wro= te: >> Hi all, i'd like to expose my problem because i'm going crazy, and if >> anyone could help me it'll be very appreciated. >> >> Well, I've an apache 2.2 server over win2k8, and i want to configure >> it as reverse proxy to send request to backend Websphere server >> >> So, my httpd.conf file is written like this: >> >> NameVirtualHost *:80 >> >> =A0 =A0 =A0DocumentRoot "C:\Program Files (x86)\Apache Software >> Foundation\Apache2.2\htdocs\my_example" >> =A0 =A0 =A0ServerName www.my_example.es:80 >> =A0 =A0 =A0ServerRoot "C:\Program Files (x86)\Apache Software Foundation= \Apache2.2" >> =A0 =A0 =A0DirectoryIndex index.html >> =A0 =A0 =A0Redirect / https://www.my_example.es:8443 >> =A0 =A0 =A0ErrorLog "C:\Program Files (x86)\Apache Software >> Foundation\Apache2.2\logs\error.log" >> =A0 =A0 =A0TransferLog "C:\Program Files (x86)\Apache Software >> Foundation\Apache2.2\logs\access.log" >> >> =A0 =A0 =A0ProxyRequests Off >> >> >> And i've configured virtual host on 8443 in httpd-ssl.conf like this: >> >> >> =A0 =A0 =A0DocumentRoot "C:\Program Files (x86)\Apache Software >> Foundation\Apache2.2\htdocs\my_example" >> =A0 =A0 =A0DirectoryIndex index2.html >> =A0 =A0 =A0ServerName www.my_example.es:8443 >> =A0 =A0 =A0ServerAdmin admin@my_example.es >> =A0 =A0 =A0ErrorLog "C:\Program Files (x86)\Apache Software >> Foundation\Apache2.2\logs\error.log" >> =A0 =A0 =A0TransferLog "C:\Program Files (x86)\Apache Software >> Foundation\Apache2.2\logs\access.log" >> >> =A0 =A0 =A0ProxyRequests Off >> =A0 =A0 =A0ProxyPreserveHost On >> =A0 =A0 =A0ProxyPass / https://192.168.112.57 >> =A0 =A0 =A0ProxyPassReverse / https://192.168.112.57 >> >> >> Proxy modules enabled are mod_proxy.so and mod_proxy_http.so >> But this configuration is not working. >> >> If i comment both proxypass sentences and try, it connects to local >> index.html page, but if i enable proxypass sentences, it tries to >> connect, typical website certificate error (continue to this site) >> appears in iexplorer and internal server error page is displayed. >> >> Could anyone help me please? >> >> Thank you very much >> Andres >> > > Your port 80 vhost redirects users with protocol https to your port 8443 = vhost. > Your port 8433 vhost is not configured for SSL. > Your browser attempts to talk SSL to a non SSL vhost. > Hilarity ensues. > > Cheers > > Tom > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project= . > See for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > =A0 " =A0 from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org