Hi friends:
Please i need a help. I AM CHANGING MY DINAMIC URL TO FRIENDLY URL AND REDIRECT MY OLD DINAMIC TO THIS NEW STATIC PAGE.
###i have in .htaccess:
RewriteCond %{HTTP_HOST} ^perubookstore.home$ [OR]
RewriteCond %{HTTP_HOST} ^www.perubookstore.home$
RewriteRule ^/?$ /cgi-bin/perubookstore/store.cgi [L]
(store.cgi is my dinamic home page)
####then, to make this old dinamic to static page permanent:
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /cgi-bin/perubookstore/store\.cgi\ HTTP/
RewriteRule ^cgi-bin/perubookstore/store\.cgi$ /? [L,R=301]
## this work, but when i use in html for example:
<form method=post action=/cgi-bin/perubookstore/store.cgi>
<input type=hidden name=action value=buy>
<input type=hidden name=quantity value=1>
<input type=hidden name=productid value=PROD2>
</form>
##the rewrite redirect this form to start page and not to cgi-bin/perubookstore/store.cgi?action=buy
NOTE: /cgi-bin/perubookstore/store.cgi (no action, is to start page).
COULD HELP ME?