Jag vill kunna ta emot olika antal argument till index.php.
http://192.168.x.x/jag/testar/nu.html ger col=jag, kat=testar och prod=nu
http://192.168.x.x/testar.html ger col=testar precis som det är meningen.
Men http://192.168.x.x/jag/testar.html ger col=jag, kat=index.php och prod=testar det är meningen att den ska ge col=jag, kat=testar.
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^([^/]+).html dummy/index.php?col=$1 [NC]
RewriteRule ^([^/]+)/([^/]+).html dummy/index.php?col=$1&kat=$2 [NC]
RewriteRule ^([^/]+)/([^/]+)/([^/]+).html dummy/index.php?col=$1&kat=$2&prod=$3 [NC]
Frågan är vad jag har gjort för fel den här gången?
/D