httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] modrewrite help needed....plz :(
Date Wed, 13 May 2009 10:54:02 GMT
On Wed, May 13, 2009 at 4:42 AM, Karthik Nanjangude
<karthik.nanjangude@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 "http://10.10.21.170/SEARCH/index.jsp?area1=sq"

In httpd.conf, outside of <Directory>, the thing your comparing
against in a RewriteRule begins with a slash.  Your rule isn't
matching due to the anchor.


-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> 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


Mime
View raw message