#63025Not possible to deliver frontent requests from dedicated web folder
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');Reviews 5
- main 64330[TASK] Remove dead and outdated check for TYPO3_PATH_WEB constant
- TYPO3_6-2 35018[FOLLOWUP][BUGFIX] Allow frontend requests from different document root
- main 35017[FOLLOWUP][BUGFIX] Allow frontend requests from different document root
- TYPO3_6-2 34288[BUGFIX] Allow frontend requests from different document root
- main 34264[BUGFIX] Allow frontend requests from different document root