Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 39976 invoked from network); 7 Nov 2007 15:47:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Nov 2007 15:47:03 -0000 Received: (qmail 41478 invoked by uid 500); 7 Nov 2007 15:45:47 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 41454 invoked by uid 500); 7 Nov 2007 15:45:47 -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 41424 invoked by uid 99); 7 Nov 2007 15:45:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2007 07:45:47 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jslive@gmail.com designates 64.233.166.178 as permitted sender) Received: from [64.233.166.178] (HELO py-out-1112.google.com) (64.233.166.178) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2007 15:45:48 +0000 Received: by py-out-1112.google.com with SMTP id u52so8015197pyb for ; Wed, 07 Nov 2007 07:45:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=8orAbIx4vkKlZXZ0RNKqdtpywqMNjM9BOMr+9hUDWsE=; b=PwVZj/vrOl7EW3ikj4xYbL46ctwY/8PDVIxqxr88jjADTq4aXZfK2ka4B17PCarm7pPher9Z6Y76D/TjdZFhz5p6s79OK1Bc1qiCEYDNmHZKCI0C+AqrtUFOq7ryn9VjqAoOX67fv1tb4jBuZrNQ8DQE7a3MQ88xGzLl2gES0bI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=j5suHrI3Lf73nH5lVvLJG/6oQeHtMNEAcNiH+ZxGAjBEJOLjxbeQW+ELQC/+5YXInyhFqdpVS0SpvzlzyNS9XEZfiFt2AnpKgtmh33p3i+cJRQyFuNfcIDYk1seHTyQ0nPJqQBRad5eri7+ikmH6Xkunpff+oy2Rj23QickRWgc= Received: by 10.64.148.8 with SMTP id v8mr1928835qbd.1194450326641; Wed, 07 Nov 2007 07:45:26 -0800 (PST) Received: by 10.65.183.10 with HTTP; Wed, 7 Nov 2007 07:45:26 -0800 (PST) Message-ID: Date: Wed, 7 Nov 2007 10:45:26 -0500 From: "Joshua Slive" Sender: jslive@gmail.com To: users@httpd.apache.org In-Reply-To: <39f6b3ae0711070349w52ec9a0m7f3345941931004c@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <39f6b3ae0711070349w52ec9a0m7f3345941931004c@mail.gmail.com> X-Google-Sender-Auth: 08fd344a196b0d1e X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] htaccess url redirect problem On Nov 7, 2007 6:49 AM, pinky goyal wrote: > Hi All ! > > I have stuck up due my .htaccess file. > > --------------- here in my .htaccess file ----- ---- > > Options +FollowSymLinks > RewriteEngine On > > > ######################################## > # REDIRECTION FROM NONSECURE TO SECURE # > ######################################## > RewriteCond %{SERVER_PORT} !^443$ > RewriteRule ^(confirmDetails\.php|transResponse\.php)$ > https://devfoundry.com/www3/web/shop/$1 [R=301,L] > > ######################################## > # REDIRECTION FROM SECURE TO NONSECURE # > ######################################### > #RewriteCond %{SERVER_PORT} ^443$ > #RewriteCond %{REQUEST_URI} !^(confirmDetails\.php|transResponse\.php)$ > #RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] > > ------------------------------------------------------------------------- > > i want to redirect url > > http://domain.com/www3/web/shop/new.php to > https://domain.com/www3/web/shop/new.php > > and url to > > http://domain.com.com/www3/web/shop/pay.php to > https://domain.com/www3/web/shop/pay.php Your examples above don't say anything about "pay.php" or "new.php". If you gave us some consistent examples, and perhaps RewriteLog output, we would be more likely to be able to help. Joshua. --------------------------------------------------------------------- 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