This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/tests/Symfony/Tests/Component/Routing/Fixtures/dumper/url_matcher1.apache

16 lines
657 B
Plaintext

RewriteCond %{PATH_INFO} ^/foo/(baz|symfony)$
RewriteRule .* app.php [QSA,L,E=_ROUTING__route:foo,E=_ROUTING_bar:%1,E=_ROUTING_def:test]
RewriteCond %{REQUEST_METHOD} ^(GET|head) [NC]
RewriteCond %{PATH_INFO} ^/bar/([^/\.]+?)$
RewriteRule .* app.php [QSA,L,E=_ROUTING__route:bar,E=_ROUTING_foo:%1]
RewriteCond %{PATH_INFO} ^/test/baz/$
RewriteRule .* app.php [QSA,L,E=_ROUTING__route:baz]
RewriteCond %{PATH_INFO} ^/test/baz$
RewriteRule .* /$0/ [QSA,L,R=301]
RewriteCond %{PATH_INFO} ^/test/([^/\.]+?)/$
RewriteRule .* app.php [QSA,L,E=_ROUTING__route:baz2,E=_ROUTING_foo:%1]
RewriteCond %{PATH_INFO} ^/test/([^/\.]+?)$
RewriteRule .* /$0/ [QSA,L,R=301]