16 lines
657 B
Plaintext
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] |