Solved

ModRewrite + ? parameters

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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

In my time as an SEO for the last 2 years and in the questions I have assisted with on here I have always seen the need to redirect from non-www urls to their www versions. For instance redirecting http://domain.com (http://domain.com) to http…
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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

759 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

20 Experts available now in Live!

Get 1:1 Help Now