http://pt.stackoverflow.com/q/159925/53463
URL
http://mariano.freevar.com/htaccess/test/foo/bar/baz/u/e/v/f
$_SERVER['PHP_SELF']
/htaccess/index.php
$_REQUEST
Array
(
[varfixa1] => test
[varfixa2] => foo
[bar] => baz
[u] => e
[v] => f
)
.htaccess
RewriteEngine on
RewriteBase /htaccess
RewriteRule ^((?:(?:[^/]+/){2})+)([^/]+)/?$ $1?$2 [QSA,L]
RewriteRule ^([^/]+/.*/)([^/]+)/([^/]+)/?$ $1?$2=$3 [QSA,L]
RewriteRule ^([^/]+)/([^/]+)/?$ index.php?varfixa1=$1&varfixa2=$2 [QSA,L]
RewriteRule ^([^./]+)/*$ index.php?varfixa=$1 [QSA,L]
Headers
Host: mariano.freevar.com
Accept-Encoding: gzip, br, zstd, deflate
User-Agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Accept: */*