Bug #54451

No functionality at Apache environments with suexec

Added by bitloft no-lastname-given almost 8 years ago. Updated over 7 years ago.

Status:
New
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2013-12-16
Due date:
% Done:

0%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

Description

We've figured out that TYPO3 Flow/Neos can't be used out of the box in Apache environments which are using suexec. Suexec only accepts "whitelisted" environment variables like variables with "HTTP_" prefix. That means that TYPO3 Flow can't access the main environment variable FLOW_REWRITEURL (setted in Web/.htaccess), which means that "index.php" is prepending at each URL (Package/Controller/Action) and the right functionality is not given. We've found a way to avoid the problem and added "putenv('FLOW_REWRITEURLS=1');" to line 1 in Web/index.php, its kindly but not clean.

There is a bug report (status: new, since 4 years) at the apache bugzilla site which describes the same thing: https://issues.apache.org/bugzilla/show_bug.cgi?id=46644

No data to display

Also available in: Atom PDF