Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm looking to create a URL rewrite rule for Cherokee 1.2.2 web server where the URL is:

http://example.com/pricing?remove=358&referer=cHJpY2luZw==

and I would like:

http://example.com/pricing

I also have a rule setup to remove index.php from the the URLs. That rule being:

internal | ^/(.*)$ | /index.php?q=$
share|improve this question

1 Answer 1

If I understood you correctly this regex, substituted to pricing, should work:

^/pricing\?

Are you sure you want to lose the GET parameters like that?

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.