Re: [us...@httpd] ModRewrite Help

2010-01-20 Thread Eric Covener
On Wed, Jan 20, 2010 at 7:57 PM, Drew Tomlinson wrote: > Eric Covener wrote: >> >> On Wed, Jan 20, 2010 at 6:24 PM, Drew Tomlinson >> wrote: >> >>> >>> RewriteRule ^/(.*)         http://www.alchemistswarehouse.com/$1 [R] >>> >>> I have tried putting this code in my .htaccess file in different pla

Re: [us...@httpd] ModRewrite Help

2010-01-20 Thread Drew Tomlinson
Eric Covener wrote: On Wed, Jan 20, 2010 at 6:24 PM, Drew Tomlinson wrote: RewriteRule ^/(.*) http://www.alchemistswarehouse.com/$1 [R] I have tried putting this code in my .htaccess file in different places but it doesn't seem to have any effect. I've even removed the "L" flag fro

Re: [us...@httpd] ModRewrite Help

2010-01-20 Thread Eric Covener
On Wed, Jan 20, 2010 at 6:24 PM, Drew Tomlinson wrote: > RewriteRule ^/(.*)         http://www.alchemistswarehouse.com/$1 [R] > > I have tried putting this code in my .htaccess file in different places but > it doesn't seem to have any effect.  I've even removed the "L" flag from the This rule i

[us...@httpd] ModRewrite Help

2010-01-20 Thread Drew Tomlinson
I'm trying to use mod_rewrite to rewrite the URL displayed in the browser address bar to the "www." form as described here: http://httpd.apache.org/docs/2.0/rewrite/rewrite_guide.html#canonicalhost This particular site is a ZenCart installation that is hosted. Thus I have to use .htaccess fil

Re: [us...@httpd] modrewrite help needed....plz :(

2009-05-13 Thread André Warnier
Karthik Nanjangude wrote: Hi OS / WINDOWS 2000 MODJK: mod_jk-1.2.28-httpd-2.2.3.so APACHE: APACHE_2.2.11-win32-x86-no_ssl.msi APPSERVER : JBOSS 4.2.1 JAVA: JDK5.0.8 USED TYPE : INTRANET Thanks for mentioning that. Always useful, saves time. I have done the following changes in "httpd.

RE: [us...@httpd] modrewrite help needed....plz :(

2009-05-13 Thread Karthik Nanjangude
3/May/2009:19:00:30 +051800] [10.10.21.170/sid#463148][rid#9c4228/initial] (1) pass through /SEARCH/ With regards Karthik -Original Message- From: Eric Covener [mailto:cove...@gmail.com] Sent: Wednesday, May 13, 2009 4:24 PM To: users@httpd.apache.org Subject: Re: [us...@httpd] modrewrite help nee

Re: [us...@httpd] modrewrite help needed....plz :(

2009-05-13 Thread Rich Bowen
On May 13, 2009, at 04:42, Karthik Nanjangude wrote: RewriteRule ^SEARCH\index.jsp$ /SEARCH/index.jsp?area1=sq [NC,L] I expected that "http://10.10.21.170/SEARCH/index.jsp"; would be replaced with "http://10.10.21.170/SEARCH/index.jsp?area1=sq"; In addition to what Eric said, if you hav

Re: [us...@httpd] modrewrite help needed....plz :(

2009-05-13 Thread Eric Covener
On Wed, May 13, 2009 at 4:42 AM, Karthik Nanjangude wrote: > Hi > > With the Rewrite as defined in httpd.conf > > > RewriteRule ^SEARCH\index.jsp$ /SEARCH/index.jsp?area1=sq [NC,L] > > > I expected that "http://10.10.21.170/SEARCH/index.jsp";  would be replaced > with "http://10.10.21.170/SEARCH/

RE: [us...@httpd] modrewrite help needed....plz :(

2009-05-13 Thread Karthik Nanjangude
t me With regards Karthik -Original Message- From: Tom Evans [mailto:tevans...@googlemail.com] Sent: Wednesday, May 13, 2009 1:59 PM To: users@httpd.apache.org Subject: RE: [us...@httpd] modrewrite help neededplz :( On Wed, 2009-05-13 at 11:52 +0530, Karthik Nanjangude wrote: > Hi

RE: [us...@httpd] modrewrite help needed....plz :(

2009-05-13 Thread Tom Evans
On Wed, 2009-05-13 at 11:52 +0530, Karthik Nanjangude wrote: > Hi > > This is what I did to http.conf > I now wanted to use *.jsp instead of *.html > > > > RewriteEngine on > RewriteLog "C:/APACHE/logs/rewrite.log" > RewriteLogLevel 9 > RewriteRule ^SEARCH\index.jsp$ /SEARCH/index.jsp?area1=sq

Re: [us...@httpd] modrewrite help needed....plz :(

2009-05-12 Thread Nick Kew
On 13 May 2009, at 05:23, Karthik Nanjangude wrote: I need the modrewriteto rewrite as “index.html?area1=sq” when some body types “ http:///SEARCH Have I done any thing wrong in modrewrite in http.conf ?….. Your rewriterule can never match. Keep it simple - drop mod_rewrite, use

RE: [us...@httpd] modrewrite help needed....plz :(

2009-05-12 Thread Karthik Nanjangude
8][rid#9b8218/initial] (1) pass through /SEARCH/index.jsp With regards Karthik -Original Message- From: Igor Cicimov [mailto:icici...@gmail.com] Sent: Wednesday, May 13, 2009 10:55 AM To: users@httpd.apache.org Subject: Re: [us...@httpd] modrewrite help neededplz :( You need to make

Re: [us...@httpd] modrewrite help needed....plz :(

2009-05-12 Thread Igor Cicimov
You need to make the rule case insensitive if you want to use capitol letters. Try something like this RewriteRule ^SEARCH\.html$ /SEARCH/index.html?area1=sq [NC,L] The NC flag is important here making the rule case insensitive. Igor On 5/13/09, Karthik Nanjangude wrote: > Hi > > > OS / WIN

[us...@httpd] modrewrite help needed....plz :(

2009-05-12 Thread Karthik Nanjangude
Hi OS / WINDOWS 2000 MODJK: mod_jk-1.2.28-httpd-2.2.3.so APACHE: APACHE_2.2.11-win32-x86-no_ssl.msi APPSERVER : JBOSS 4.2.1 JAVA: JDK5.0.8 USED TYPE : INTRANET I have done the following changes in "httpd.conf" LoadModule jk_module C:/Apache/modules/mod_jk.so LoadModule rewrite_module C:/