httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Evans <tevans...@googlemail.com>
Subject RE: [users@httpd] modrewrite help needed....plz :(
Date Wed, 13 May 2009 08:28:56 GMT
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]
> 
> 
> I have cleared the cache, restarted the APACHE server
> 
> 
> On the URL when I type "http://10.10.21.170/SEARCH/index.jsp"
> 
> 
> I do not see the changes... to "http://10.10.21.170/SEARCH/index.jsp?area1=sq"
> 
> 
> 
> For reference the log is as shown below
> 
> Rewrite.log
> 
..
> init rewrite engine with requested uri /SEARCH/index.jsp
> applying pattern '^SEARCH\index.jsp$' to uri '/SEARCH/index.jsp'
> pass through /SEARCH/index.jsp
> 

Did you even look at the log? Here is a hint: for a rewrite to work, the
pattern has to match the uri.

It might be easier if you explain what you are trying to do. It looks
like you are trying to add default arguments to this SEARCH page?

Tom


---------------------------------------------------------------------
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