i'm not sure how to do this... but this is my problem
i have 3 links that i want to rewrite
http://www.website.com/cgi/sx.cgi?display=home
http://www.website.com/cgi/sx.cgi?action=yes&id=p12
http://www.website.com/cgi/sx.cgi?searc ... ord=sample
i wanted to change them to this
http://www.website.com/cgi/sx.cgi?display=home
to this one >>>>>>>> http://www.website.com/data/home.html
http://www.website.com/cgi/sx.cgi?action=yes&id=p12
to this one >>>>>>>> http://www.website.com/data/p12.html
http://www.website.com/cgi/sx.cgi?searc ... ord=sample
to this one >>>>>>>> http://www.website.com/data/sample.html
this is my code... but doesnt work
RewriteEngine on
RewriteRule ^data/(.*)\.html$ /cgi/sx.cgi?id=$1&action=$2
RewriteRule ^data/(.*)\.html$ /cgi/sx.cgi?display=$1
RewriteRule ^data/(.*)\.html$ /cgi/sx.cgi?keyword=$1&search=$2
your help will be greatly appreciated...