For example, the following rule has a trailing .*, but query string is not included in the URL during match in mod_rewrite, so this can be eliminated. The trailing .* is messy and wrong -- we don't want to match any other paths other than .../update itself.
|
# developer/14.0+/update |
|
RewriteRule "^developer/[1-9][0-9]\.[0-9]/update(.*)" "/script/developer/14.0/update/index.php$1" [END] |
For example:
# developer/14.0+/update
RewriteRule "^developer/[1-9][0-9]\.[0-9]/update(.*)" "/script/developer/14.0/update/index.php$1" [END]
Should simplify to:
# developer/14.0+/update
RewriteRule "^developer/[1-9][0-9]\.[0-9]/update$" "/script/developer/14.0/update/index.php" [END]
For example, the following rule has a trailing
.*, but query string is not included in the URL during match in mod_rewrite, so this can be eliminated. The trailing.*is messy and wrong -- we don't want to match any other paths other than.../updateitself.api.keyman.com/.htaccess
Lines 121 to 122 in 2c6473a
For example:
Should simplify to: