]
Sent: Wednesday, May 13, 2009 10:55 AM
To: users@httpd.apache.org
Subject: Re: [us...@httpd] modrewrite help neededplz :(
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
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://IP/SEARCH
Have I done any thing wrong in modrewrite in http.conf ?…..
Your rewriterule can never match.
Keep it simple - drop mod_rewrite,
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 [NC,L]
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
This is what I did
On Wed, May 13, 2009 at 4:42 AM, Karthik Nanjangude
karthik.nanjang...@xius-bcgi.com 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
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 have
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
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
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