Forum Moderators: phranque
RewriteEngine on
RewriteBase /cgi-bin/
RewriteRule ^script\-input_mode\-(.*)\-input_page\-(.*)\-input_id\-(.*).html$ script.cgi?input_mode=$1&input_page=$2&input_id=$3
RewriteRule ^script\-input_mode\-(.*)\-input_id\-(.*).html$ script.cgi?input_mode=$1&input_id=$2
script-input_mode-books-input_id-2.html Doesn't bring the content from web services site.
script.cgi?input_mode=books&input_id=2 Works
RewriteRule ^script\-input_mode\-(.*).html$ script.cgi?input_mode=$1
script-input_mode-books.html
RewriteRule ^script\-input_item\-(.*)\-input_search_type\-AsinSearch.html$ script.cgi?input_item=$1&input_search_type=AsinSearch
script.cgi?input_item=0743222245&input_search_type=AsinSearch Works (Original script URL)
script-input_item-0743222245-input_search_type-AsinSearch.html Doesn't work too well.
RewriteRule ^script.html$ script.cgi
RewriteRule ^script\-input_mode\-(.*)\-input_id\-(.*).html$ script.cgi?input_mode=$1&input_id=$2script-input_mode-books-input_id-2.html Doesn't bring the content from web services site.
script.cgi?input_mode=books&input_id=2 Works
you're escaping the - chars (\-), but i think this is not necessary. please test against
script\-input_mode\-books\-input_id-2.html if this is working. give it a try, the other problem should be based on the same thing.
- hakre.