Forum Moderators: phranque

Message Too Old, No Replies

mod_rewrite, variabele problem

mod_rewrite, variabele, problem, rewrite engine, apache, ciao

         

jules

9:53 am on Jan 18, 2005 (gmt 0)

10+ Year Member



Ciao!

RewriteEngine on
RewriteRule ^([a-z][a-z])/(websiteŠportfolioŠprojectenŠcontact)/([0-9]+)\.html$ index.php?l=$l&p=$p&v=$v [L]

www.websitemeester.nl/en/website/2.html

The problem is that variabele $p en $v dont work, it will echo $p en $v! But $l (taalkeuze) do work good. Who see the problem?

Ciao,
Jules

Caterham

10:26 am on Jan 18, 2005 (gmt 0)

10+ Year Member



May be you ment backreferences like $number of group from saved values within the RegEx-(groups).

RewriteRule ^([a-z]{2})/(websiteŠportfolioŠprojectenŠcontact)/([0-9]+)\.html$ index.php?l=$1&p=$2&v=$3 [L]

Bob

jules

11:07 am on Jan 18, 2005 (gmt 0)

10+ Year Member



Thanks, it works now :)