[Flow] Correct frontend urls with CLI, StandaloneView, ActionViewHelper?
Tobias Pinnekamp
typo3 at tpinne.de
Fri Sep 6 23:34:31 CEST 2013
Thanks Bastian,
that helped me quite a lot. Figured that I could to set the baseUri within Settings.yaml.
However to get rid of the "index.php" within the generated URL I have to set the environment variable
putenv('REDIRECT_FLOW_REWRITEURLS=true');
because in the build function of UriBuilder there is this snippet:
if (!$this->environment->isRewriteEnabled()) {
$uri = 'index.php/' . $uri;
}
which refers to Environment.php:
public function isRewriteEnabled() {
if (getenv('REDIRECT_FLOW_REWRITEURLS')) {
return TRUE;
}
return (boolean)getenv('FLOW_REWRITEURLS');
}
Setting the variable in htaccess doesn't wok. Any ideas of this last glitch?
Thanks much,
Tobi
More information about the Flow
mailing list