Page 1 of 1

expression help needed

Posted: Mon Nov 06, 2006 3:18 am
by itsmani1
It sends all .html files to viewtickets.php?xxxxx=x
I want to send all files with
http://www.ticketchest.com/production/375053/xxxxx.html

375053 is variable number

to viewtickets.php?ContentID=$1
having problem in expression. any help?

Code: Select all

RewriteEngine On
	RewriteRule ^(.*).html viewtickets.php?ContentID=$1

Posted: Sun Nov 12, 2006 2:07 pm
by GeertDD
Do you mean something like this? Not sure whether I fully understand your question.

Code: Select all

RewriteRule ^production/(\d+)/(.*)\.html$ viewtickets.php?ContentID=$1

Posted: Mon Nov 13, 2006 2:34 am
by timvw
We're still waiting for you to answer: viewtopic.php?t=58422.