Bug #54451

No functionality at Apache environments with suexec

Added by bitloft GmbH over 1 year ago. Updated over 1 year ago.

Status:New Start date:2013-12-16
Priority:Must have Due date:
Assigned To:- % Done:

0%

Category:-
Target version:-
PHP Version: Complexity:
Has patch:No Affected Flow version:(any)

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

Also available in: Atom PDF