@@ -45,14 +45,14 @@ Symfony2 to use the ``ApacheUrlMatcher`` instead of the default one:
45
45
46
46
Note that :class: `Symfony\\ Component\\ Routing\\ Matcher\\ ApacheUrlMatcher `
47
47
extends :class: `Symfony\\ Component\\ Routing\\ Matcher\\ UrlMatcher ` so even
48
- if you don't regenerate the url_rewrite rules, everything will work (because
48
+ if you don't regenerate the mod_rewrite rules, everything will work (because
49
49
at the end of ``ApacheUrlMatcher::match() `` a call to ``parent::match() ``
50
50
is done).
51
51
52
52
Generating mod_rewrite rules
53
53
----------------------------
54
54
55
- To test that it's working, let's create a very basic route for demo bundle :
55
+ To test that it's working, let's create a very basic route for the AcmeDemoBundle :
56
56
57
57
.. configuration-block ::
58
58
@@ -77,7 +77,7 @@ To test that it's working, let's create a very basic route for demo bundle:
77
77
'_controller' => 'AcmeDemoBundle:Demo:hello',
78
78
)));
79
79
80
- Now generate ** url_rewrite ** rules:
80
+ Now generate the mod_rewrite rules:
81
81
82
82
.. code-block :: bash
83
83
@@ -95,7 +95,7 @@ Which should roughly output the following:
95
95
RewriteCond %{REQUEST_URI} ^/hello/([^/]+?)$
96
96
RewriteRule .* app.php [QSA,L,E=_ROUTING__route:hello,E=_ROUTING_name:%1,E=_ROUTING__controller:AcmeDemoBundle\:Demo\:hello]
97
97
98
- You can now rewrite `web/.htaccess ` to use the new rules, so with this example
98
+ You can now rewrite `` web/.htaccess ` ` to use the new rules, so with this example
99
99
it should look like this:
100
100
101
101
.. code-block :: apache
@@ -114,10 +114,10 @@ it should look like this:
114
114
115
115
.. note ::
116
116
117
- Procedure above should be done each time you add/change a route if you want to take full advantage of this setup
117
+ The procedure above should be done each time you add/change a route if you want to take full advantage of this setup.
118
118
119
119
That's it!
120
- You're now all set to use Apache Route rules .
120
+ You're now all set to use Apache routes .
121
121
122
122
Additional tweaks
123
123
-----------------
0 commit comments