Solved

ModRewrite + ? parameters

Posted on 2003-10-28
2
190 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

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

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

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 …
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

679 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