Gossamer Forum
Home : Products : DBMan : Customization :

Mod rewrite question

Quote Reply
Mod rewrite question
in my .htaccess I have this line:
Options +FollowSymLinks
RewriteEngine on

RewriteRule ^(.*)-(.*)-(.*)-(.*)\.html$ /cgi-bin/shop/db.cgi?db=default&uid=default&Year=$1&Make=$2&Model=$3&Type=$4&view_records=1&mh=1

dbman creates this link, but it does not work when I click it.
/cgi-bin/shop/2000-03-Daewoo-Lanos-dragonintake.html

If i put in the variables then it works.

/cgi-bin/shop/db.cgi?db=default&uid=default&Year=2000-03&Make=Daewoo&Model=Lanos&Type=dragonintake&view_records=1&mh=1

It was working hours ago...but now i'm just too frustrated. thanks!