Solved

ModRewrite + ? parameters

Posted on 2003-10-28
2
186 Views
Last Modified: 2012-05-04
I have following problem :

existing url :
/v400/show.asp?action=HTML&id=xxxx

should be rewrited to
/v800/show_html.php?id=xxxx

but just in case parameter ACTION in first URL equals HTML. In any other case leave the URL as it is. Ideally, if the rewrite rule is
case insensitive (HTML or html), that would be great.

Can you please help me ?
Thank you
  L.
0
Comment
Question by:Letus
2 Comments
 
LVL 4

Accepted Solution

by:
kalosi earned 250 total points
ID: 9643554
Hi,

RewriteRule ^/v400/show.asp?action=[HTML|html]&id=(.*)$ /v800/show_html.php?id=$1

should work.

david
0
 
LVL 2

Author Comment

by:Letus
ID: 9643881
Yup !!!
Thank you
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
htaccess question 5 69
ProxyPass - Problem 5 123
Xampp Not Stopping 9 40
XAMPP 14 42
It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now