Re: need help: its urgent

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



As a general rule, people will ignore you if you write "need help: its urgent" -- even if it really is urgent. ;-)

Anyhow I am a newbie but I think I know how to do this:

LoadModule rewrite_module modules/mod_rewrite.so

...

RewriteCond %{QUERY_STRING} ^.*cid=(\d+)&article_id=(\d+)&articleName=(.*)$
RewriteRule ^.*$ http://%{HTTP_HOST}/HEALTH/news_article/%1/%2/%3 [R=permanent,L]

Maybe that will work.


Best, Alex

On 29 May 2010 19:25, Manoj Samtani <manoj.kumar84@xxxxxxxxxxx> wrote:
Anyone can help:


I have to do some redirection from dynamic to static URL R=301, please help its urgent. here is the query

Dynamic URL:

http://localhost/HEALTH/news_article.page?locale=en_US&cid=1271310914&article_id=1269931540&articleName=Going%20sleeveless%20to%20beat%20the%20heat%20is%20a%20bad%20idea

Need to redirect to Static URL:

http://localhost/HEALTH/news_article/1271310914/1269931540/Going%20sleeveless%20to%20beat%20the%20heat%20is%20a%20bad%20idea


Thanks,
Manoj


The latest auto launches and test drives Drag n' drop


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux