Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 92141 invoked from network); 19 Jul 2004 07:50:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 19 Jul 2004 07:50:07 -0000 Received: (qmail 37694 invoked by uid 500); 19 Jul 2004 07:49:50 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 37524 invoked by uid 500); 19 Jul 2004 07:49:48 -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: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 37502 invoked by uid 99); 19 Jul 2004 07:49:48 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=WEIRD_PORT X-Spam-Check-By: apache.org Received: from [146.109.240.107] (HELO ns0a.swx.com) (146.109.240.107) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 19 Jul 2004 00:49:44 -0700 Received: from gate0b.unix.swx.ch (gate0b [192.168.252.145]) by ns0a.swx.com (8.12.10/8.12.10) with ESMTP id i6J7nbQ6009161 for ; Mon, 19 Jul 2004 09:49:38 +0200 (MEST) Received: from SOMEXEVS001.ex.ordersx.org (localhost [127.0.0.1]) by gate0b.unix.swx.ch (8.12.10/8.12.10) with ESMTP id i6J7naV3003936 for ; Mon, 19 Jul 2004 09:49:37 +0200 (MEST) content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 Date: Mon, 19 Jul 2004 09:49:36 +0200 Message-ID: Priority: normal Importance: normal X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [users@httpd] How to drop port when switching from https to http Thread-Index: AcRrS+3Yl25QV5DFSoG+RJigQQzLhgCGHKEg From: "Boyle Owen" To: X-Virus-Checked: Checked Subject: RE: [users@httpd] How to drop port when switching from https to http X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > -----Original Message----- > From: Sagara Wijetunga [mailto:sagaralists@yahoo.com] > Sent: Freitag, 16. Juli 2004 17:45 > To: users@httpd.apache.org > Subject: [users@httpd] How to drop port when switching from https to > http >=20 >=20 > Hi all >=20 > I have a webmail application. It sends user id and > password to the server using SSL. After that it > switches from https to http and continue. So it's the webmail application that makes the redirected URL... You'd need to configure the webmail app to fix it. >=20 > I have two domains configured using same IP address. > Therefore, one domain I configured using a different > port in the ssl.conf. My problem is when the > application switches from https to http, the port > still remains and there is no VirtualHost to capture > it=20 One workaround is to make such a VH which then redirects to port 80: Redirect / http://server/=20 Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored.=20 Diese E-mail ist eine private und pers=F6nliche Kommunikation. Sie hat keinen Bezug zur B=F6rsen- bzw. Gesch=E4ftst=E4tigkeit der SWX Gruppe. = This e-mail is of a private and personal nature. It is not related to the exchange or business activities of the SWX Group. Le pr=E9sent e-mail = est un message priv=E9 et personnel, sans rapport avec l'activit=E9 = boursi=E8re du Groupe SWX. >and ends with a error as follows: > "Bad request!=20 >=20 > Your browser (or proxy) sent a request that this > server could not understand. >=20 > If you think this is a server error, please contact > the webmaster. >=20 > Error 400" >=20 > Let me give an example: >=20 > 1. > https://mail.someDomain.com:55000/cgi-bin/webmail.... > 2. Get the login page, type user id and password > 3. The webmail now switches from https to http=20 > 4. The webmail now issue: > http://mail.someDomain.com:55000/cgi-bin/webmail.... > 5. Bad request! Error 400 >=20 > How do I drop the port 55000 from the above URL in > step 4 and resubmit to the Apache server?=20 >=20 > My httpd.conf and ssl.conf is included below.=20 >=20 > Many thanks in advance. >=20 > Kind regards > Sagara >=20 > httpd.conf > =3D=3D=3D=3D=3D=3D > Listen 80 >=20 > > Include conf/ssl.conf > >=20 > NameVirtualHost serverIPaddress:80 >=20 > > ServerName mail.server.com >=20 > >=20 >=20 > > ServerName mail.newDomain.com >=20 > >=20 >=20 > ssl.conf > =3D=3D=3D=3D=3D >=20 > > Listen 443 > Listen 55000 >=20 > > ServerName mail.server.com >=20 > SSLEngine on >=20 > >=20 >=20 > > ServerName mail.newDomain.com:55000 >=20 > SSLEngine on >=20 > > >=20 >=20 > =09 > __________________________________ > Do you Yahoo!? > Yahoo! Mail - You care about security. So do we. > http://promotions.yahoo.com/new_mail >=20 > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP=20 > 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 >=20 > This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company.=20 --------------------------------------------------------------------- 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