?
Solved

ModRewrite + ? parameters

Posted on 2003-10-28
2
Medium Priority
?
197 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Accepted Solution

by:
kalosi earned 1000 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

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

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

Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
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 …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

770 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