8000 minor #51060 Fix htaccess sample to use index.php instead of app.php … · symfony/symfony@06ec40a · GitHub
[go: up one dir, main page]

Skip to content

Commit 06ec40a

Browse files
minor #51060 Fix htaccess sample to use index.php instead of app.php (Christopher Hertel)
This PR was merged into the 5.4 branch. Discussion ---------- Fix htaccess sample to use index.php instead of app.php | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | License | MIT | Doc PR | n/a Kinda embarrassed that i found that thing ... Commits ------- 2787e50 Fix htaccess sample to use index.php instead of app.php
2 parents 25dc25c + 2787e50 commit 06ec40a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpFoundation/ServerBag.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function getHeaders()
5151
* RewriteCond %{HTTP:Authorization} .+
5252
* RewriteRule ^ - [E=HTTP_AUTHORIZATION:%0]
5353
* RewriteCond %{REQUEST_FILENAME} !-f
54-
* RewriteRule ^(.*)$ app.php [QSA,L]
54+
* RewriteRule ^(.*)$ index.php [QSA,L]
5555
*/
5656

5757
$authorizationHeader = null;

0 commit comments

Comments
 (0)
0