Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 74676 invoked from network); 30 Oct 2005 21:18:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Oct 2005 21:18:19 -0000 Received: (qmail 19002 invoked by uid 500); 30 Oct 2005 21:18:07 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 18983 invoked by uid 500); 30 Oct 2005 21:18:07 -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 18971 invoked by uid 99); 30 Oct 2005 21:18:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Oct 2005 13:18:06 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [216.68.8.175] (HELO smtp2.fuse.net) (216.68.8.175) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Oct 2005 13:18:01 -0800 Received: from gx6.fuse.net ([66.42.156.185]) by smtp2.fuse.net (InterMail vM.6.01.04.04 201-2131-118-104-20050224) with ESMTP id <20051030211741.NUHD743.smtp2.fuse.net@gx6.fuse.net> for ; Sun, 30 Oct 2005 16:17:41 -0500 Received: from server.kc8onw.net ([66.42.156.185]) by gx6.fuse.net (InterMail vG.1.02.00.02 201-2136-104-102-20041210) with ESMTP id <20051030211737.WMYS24344.gx6.fuse.net@server.kc8onw.net> for ; Sun, 30 Oct 2005 16:17:37 -0500 Received: from www.kc8onw.net (localhost.kc8onw.net [127.0.0.1]) by server.kc8onw.net (Postfix) with ESMTP id 010D9A16FD for ; Sun, 30 Oct 2005 16:17:33 -0500 (EST) Received: from 144.104.30.81 (SquirrelMail authenticated user jonathan) by www.kc8onw.net with HTTP; Sun, 30 Oct 2005 16:17:34 -0500 (EST) Message-ID: <16852.144.104.30.81.1130707054.squirrel@www.kc8onw.net> In-Reply-To: <7cdaeae30510301232q13dc8979q@mail.gmail.com> References: <4251.144.104.30.81.1130675981.squirrel@kc8onw.net> <7cdaeae30510301232q13dc8979q@mail.gmail.com> Date: Sun, 30 Oct 2005 16:17:34 -0500 (EST) From: "Jonathan" To: users@httpd.apache.org User-Agent: SquirrelMail/1.4.5 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] mod_rewrite not seeing https requests X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > Hi, > > Try placing your rewrite directives in SSL Virtual host. Your > directives are not working possibly because ssl data is not decrypted > yet. > > Regards, > Alpay /me puts on dunce cap I *swear* I tried that already, it works now :P Thats what I get for working when short of sleep :( Thanks, Jonathan > > 2005/10/30, jonathan@kc8onw.net : >> Hello, >> >> I'm running >> Apache/2.0.55 (FreeBSD) DAV/2 PHP/5.0.5 SVN/1.2.3 mod_ssl/2.0.55 >> OpenSSL/0.9.7e >> and I am using mod_rewrite to redirect requests for http://domain.com to >> http://www.domain.com and it's working fine for http but for some reason >> not at all for https. I have the following in the global portion of my >> httpd.conf >> >> RewriteEngine On >> RewriteCond %{HTTP_HOST} !^www\.kc8onw\.net [NC] >> RewriteCond %{HTTP_HOST} !^$ >> RewriteRule ^/(.*) http://www.kc8onw.net/$1 [L,R] >> RewriteLog /var/log/httpd-rewrite.log >> RewriteLogLevel 9 >> >> I have SSL setup like this >> >> >> # General setup for the virtual host >> DocumentRoot "/usr/local/www/data" >> ServerName kc8onw.net:443 >> ServerAlias www.kc8onw.net:443 >> ServerAdmin www@kc8onw.net >> ErrorLog /var/log/httpd-error.log >> TransferLog /var/log/httpd-access.log >> >> I've googled for a few days with variations on the subject of this mail >> and have not been able to find an answer, I keep getting http -> https >> issues which is not currently my problem. Checking the rewrite log >> after >> an http request I see mod_rewrite checking and rewriting urls but >> nothing >> shows up at all for an https request. Any pointers or possible >> explanations would be greatly appreciated. If it would help to see the >> full config files I can either put them on the site or attach them I >> just >> didn't want to send all that in the first mail. >> >> Thank you, >> Jonathan --------------------------------------------------------------------- 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