Project

General

Profile

Actions

Bug #63025

closed

Not possible to deliver frontent requests from dedicated web folder

Added by Helmut Hummel about 10 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-11-17
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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');
Actions

Also available in: Atom PDF