httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47925] apache redirection not working
Date Tue, 06 Oct 2009 14:38:57 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47925

sharjeel <sharjeel.tariq1@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |

--- Comment #2 from sharjeel <sharjeel.tariq1@gmail.com> 2009-10-06 07:38:56 PDT ---
I had raised the question in http://httpd.apache.org/userslist.html but that
did not produce any result. I think it is a bug in apache. The redirection rule
was taken from apache manual, so it should handle all types of urls.


RewriteCond %{HTTP_HOST} ^example.com$
 RewriteRule ^/(.*)$ http://www.example.com/$1 [L,R]


The above rule does not handles urls like 

http://example.com/news/headlines/more.jsp?content=20090624_075115_6540

The rule should redirect

http://example.com/news/headlines/more.jsp?content=20090624_075115_6540

to

http://www.example.com/news/headlines/more.jsp?content=20090624_075115_6540

But it is actually redirecting the url to home page of site with
"?content=20090624_075115_6540" at the end of url.

http://www.example.com/index.jsp?content=20090624_075115_6540

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message