Who can tell me why these rules in my .htaccess rules don't work?
help plz
On (Apache 2.2.17) is OK.
help plz
Apache config:
# if group_1 missed then redirect 410(Gone) without paramaters
RewriteCond %{QUERY_STRING} 'group_1=&'
RewriteRule ^tovary\.php - [R=410,L]
# replaces all '+'(whitespace) onto '%20' in query string
####### loop changing '+' onto '%20'
RewriteCond %{QUERY_STRING} (.*)\+(.*)
RewriteRule ^tovary\.php /tovary.php?%1\%20%2 [N,NE,E=PlusWasSubstitutedForHex:1]
####### 301 redirect to fix all substituting
RewriteCond %{ENV:REDIRECT_PlusWasSubstitutedForHex} 1
RewriteRule ^tovary\.php /tovary.php [NE,R=301,L]
On (Apache 2.2.17) is OK.
Last edited by a moderator: