Why do two patterns (/.*) and (.*) match different strings? @per-directory (.htaccess) mod_rewrite RewriteRule
- by Leftium
Shouldn't the two patterns (/.*) and (.*) match the same string?
My real question is actually: where did the "abc" go? Something funky seems to be happening inside the mod_rewrite engine...
Given this .htaccess file in www/dir/:
Options +FollowSymlinks
RewriteEngine on
RewriteRule (/.*) print_url_args.php?result=$1
A request for…