url_matcher1.apache 657 B

12345678910111213141516
  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|head) [NC]
  4. RewriteCond %{PATH_INFO} ^/bar/([^/\.]+?)$
  5. RewriteRule .* app.php [QSA,L,E=_ROUTING__route:bar,E=_ROUTING_foo:%1]
  6. RewriteCond %{PATH_INFO} ^/test/baz/$
  7. RewriteRule .* app.php [QSA,L,E=_ROUTING__route:baz]
  8. RewriteCond %{PATH_INFO} ^/test/baz$
  9. RewriteRule .* /$0/ [QSA,L,R=301]
  10. RewriteCond %{PATH_INFO} ^/test/([^/\.]+?)/$
  11. RewriteRule .* app.php [QSA,L,E=_ROUTING__route:baz2,E=_ROUTING_foo:%1]
  12. RewriteCond %{PATH_INFO} ^/test/([^/\.]+?)$
  13. RewriteRule .* /$0/ [QSA,L,R=301]