Bug #63025
closedNot possible to deliver frontent requests from dedicated web folder
100%
Description
With a specially prepared index.php and using some page renderer hooks it is in general possible
to deliver frontend requests from a dedicated web folder.
However there are a few (hard coded) issues in TYPO3 which makes this impossible.
Fix these issues to enable this (secure) setup.
example index.php (for TYPO3 6.2) to be placed in a "Web/" folder:
require __DIR__ . '/../typo3/sysext/core/Classes/Core/Bootstrap.php'; \TYPO3\CMS\Core\Core\Bootstrap::getInstance() ->baseSetup('Web/') ->redirectToInstallerIfEssentialConfigurationDoesNotExist(); define('TYPO3_PATH_WEB', __DIR__ . '/'); require(PATH_tslib . 'index_ts.php');
Updated by Gerrit Code Review about 10 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/34264
Updated by Gerrit Code Review about 10 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/34264
Updated by Gerrit Code Review about 10 years ago
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/34288
Updated by Gerrit Code Review almost 10 years ago
Patch set 2 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/34288
Updated by Gerrit Code Review almost 10 years ago
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35017
Updated by Gerrit Code Review almost 10 years ago
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35018
Updated by Helmut Hummel almost 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 256aa9e40d3bc5bbac035997c0b24410f35f94da.