Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Commit 113df25

Browse files
committed
Revert "merged branch Tobion/patch-2 (PR #497)"
This reverts commit 507a3f9, reversing changes made to de036c8.
1 parent 3054a8f commit 113df25

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

UPGRADE-2.2.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
UPGRADE FROM 2.1 to 2.2
22
=======================
33

4-
* The [`web/.htaccess`](https://github.com/symfony/symfony-standard/blob/2.2/web/.htaccess)
5-
file changed slightly to prevent duplicate content with and without `/app.php` in the URI.
6-
So you might want to update your `.htaccess` file as well.
7-
84
* The ``_internal`` route is not used any more. It should then be removed
95
from both your routing and security configurations. A ``fragments`` key has
106
been added to the framework configuration and must be specified when ESI or

web/.htaccess

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@
55
# RewriteBase /
66
#</IfModule>
77

8-
# redirect to URI without front controller to prevent duplicate content
9-
RewriteRule ^app\.php(/(.*)|$) /$2 [R=301,END]
10-
11-
# rewrite requests to non-existent files to front controller
128
RewriteCond %{REQUEST_FILENAME} !-f
13-
RewriteRule ^(.*)$ app.php [END]
9+
RewriteRule ^(.*)$ app.php [QSA,L]
1410
</IfModule>

0 commit comments

Comments
 (0)