url_matcher1.apache 327 B

1234567
  1. RewriteCond %{PATH_INFO} ^/foo/(baz|symfony)$
  2. RewriteRule .* app.php [QSA,L,E=_ROUTING__route:foo,E=_ROUTING_bar:%1,E=_ROUTING_def:test]
  3. RewriteCond %{REQUEST_METHOD} =GET [OR]
  4. RewriteCond %{REQUEST_METHOD} =HEAD
  5. RewriteCond %{PATH_INFO} ^/bar/([^/\.]+?)$
  6. RewriteRule .* app.php [QSA,L,E=_ROUTING__route:bar,E=_ROUTING_foo:%1]