[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ic] Rewrite rules kill forms


Dear All,

I am playing a little with Rewrite rules in order to shorten the url's
generated by IC.

I am using the following (Apache) Rewrite rules:

    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !^/*cgi-bin
    RewriteCond %{REQUEST_FILENAME} !^/*standard
    RewriteCond %{REQUEST_FILENAME} !^/*images
    RewriteRule ^/*(.*)$ /cgi-bin/standard/$1 [R=301]


The default Search box small component code (see below) generates
the following Error message after implementing Rewrite rules:
"Search strings must be at least 1 characters. You had no search string specified."

 <form action="http://www.mydomain.com/search.html"; method=post>
    <INPUT TYPE=hidden NAME=mv_coordinate VALUE=1>
    <INPUT TYPE=hidden NAME=mv_searchtype VALUE=db>
    <INPUT TYPE=hidden NAME=mv_matchlimit VALUE=10>
    <INPUT TYPE=hidden NAME=mv_sort_field VALUE=category>
    <INPUT TYPE=hidden NAME=mv_search_field VALUE=":*">
    <input type=hidden name=mv_min_string value=2>
    <input type=hidden name=mv_substring_match value=1>
    <INPUT TYPE=hidden NAME=mv_column_op VALUE="aq">
 <INPUT MAXLENGTH=30 NAME=mv_searchspec type=text size=15>
 <input type=submit>
</form>


Actually it seems that all other forms in the catalog stopped working
as well...  They worked ok before implementing the above Rewrite
rules though.

I must be missing something obvious. Any thoughts?

Best regards,

Ton

--
Alamerce Nederland --- Cornerstone of eBusiness
Phone +31-40-2374381    suppressed    http://www.alamerce.nl

eCommerce Solutions -- Consulting -- Website & Interchange Hosting

_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.