Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 95206 invoked from network); 19 Oct 2010 05:49:01 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 19 Oct 2010 05:49:01 -0000 Received: (qmail 25122 invoked by uid 500); 19 Oct 2010 05:48:58 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 25081 invoked by uid 500); 19 Oct 2010 05:48:58 -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 25073 invoked by uid 99); 19 Oct 2010 05:48:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Oct 2010 05:48:58 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of tushar.chavan@hotmail.com designates 65.55.111.113 as permitted sender) Received: from [65.55.111.113] (HELO blu0-omc2-s38.blu0.hotmail.com) (65.55.111.113) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Oct 2010 05:48:49 +0000 Received: from BLU156-W10 ([65.55.111.71]) by blu0-omc2-s38.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 18 Oct 2010 22:48:27 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_438fb9a0-d50b-40d5-90bd-f466fc24ecd5_" X-Originating-IP: [212.116.220.19] From: Tushar Chavan To: Date: Tue, 19 Oct 2010 11:18:27 +0530 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 19 Oct 2010 05:48:27.0767 (UTC) FILETIME=[40A35070:01CB6F51] X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] mod_rewrite is not working --_438fb9a0-d50b-40d5-90bd-f466fc24ecd5_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Experts=2C =20 In my case mod_rewrite is not working. Below is the case. =20 Url https://srmdevarp02.domain/sap(bD1lbiZjPTExNiZwPTMyODMxJnY9NyUyZTAxMDY= maT0xJnM9U0lEJTNhQU5PTiUzYXNybWRldl9TRURfMDAlM2FGc3U4REN3TDVnckM1LWpGWXBfSl= UyTWlQV3hENmM4VnRhbkdsU0xWLUFUVA=3D=3D)/bc/bsp/sap/ros_prescreen/main.do =20 Should be re-directed to http://srmdev.domain/sap(bD1lbiZjPTExNiZwPTMyODMxJ= nY9NyUyZTAxMDYmaT0xJnM9U0lEJTNhQU5PTiUzYXNybWRldl9TRURfMDAlM2FGc3U4REN3TDVn= ckM1LWpGWXBfSlUyTWlQV3hENmM4VnRhbkdsU0xWLUFUVA =20 Below are the entried in httpd.conf file. =20 RewriteEngine on RewriteCond %{HTTPS} =3Don RewriteRule ^/(sap\(.*) http://srmdev.kjo.com.sa:8000/sap($= 1 [P=2CL] RewriteRule ^/sap http://srmdev.kjo.com.sa:8000/sap/$1 [P=2CL= ] =20 =20 am I missing something ? =20 Best Regards=2C Tushar. =20 = --_438fb9a0-d50b-40d5-90bd-f466fc24ecd5_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Experts=2C
 =3B
In my case =3B mod_rewrite is not working. Below is the case.
 =3B
Url =3B https://srmdevarp02.domain/sap(bD1lbiZjPTExNiZwPTMyODMxJnY= 9NyUyZTAxMDYmaT0xJnM9U0lEJTNhQU5PTiUzYXNybWRldl9TRURfMDAlM2FGc3U4REN3TDVnck= M1LWpGWXBfSlUyTWlQV3hENmM4VnRhbkdsU0xWLUFUVA=3D=3D)/bc/bsp/sap/ros_prescree= n/main.do
 =3B
Should be re-directed to http://srmdev.do= main/sap(bD1lbiZjPTExNiZwPTMyODMxJnY9NyUyZTAxMDYma= T0xJnM9U0lEJTNhQU5PTiUzYXNybWRldl9TRURfMDAlM2FGc3U4REN3TDVnckM1LWpGWXBfSlUy= TWlQV3hENmM4VnRhbkdsU0xWLUFUVA
 =3B
Below are the entried in httpd.conf file.
 =3B
RewriteEngine on
RewriteCond %{HTTPS} =3Don
RewriteRule ^/(sap\(.*)&n= bsp=3B =3B =3B =3B =3B =3B =3B =3B =3B = =3B =3B =3B =3B =3B =3B =3B http://srmdev.kjo.com.sa:8000/sap($1 [P=2CL]<= BR>RewriteRule ^/sap =3B =3B =3B =3B =3B =3B = =3B =3B =3B =3B =3B =3B =3B =3B http://srmdev.kjo.com.sa:8000/sap/$1 = [P=2CL]
 =3B
 =3B
am I missing something ?
 =3B
Best Regards=2C
Tushar.
 =3B

 =3B
= --_438fb9a0-d50b-40d5-90bd-f466fc24ecd5_--