On Fri, Oct 2, 2009 at 4:07 PM, Sharjeel Tariq <sharjeel.tariq1@xxxxxxxxx> wrote: > the redirection rule is written in a separate file under <VirtualHost *>. > > > RewriteCond %{HTTP_HOST} ^example.com$ > RewriteRule ^/(.*)$ http://www.example.com/$1 [L,R] > > > The issue was that above rule works for all urls except for urls like > http://example.com/news/headlines/more.jsp?content=20090624_075115_6540 > > > the rule redirects the above url to home page of site > > http://www.example.com/index.jsp?content=20090624_075115_6540 And it can't be captured by a RewriteLog? Is it some other rewrite/redirect occuring? -- Eric Covener covener@xxxxxxxxx --------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx