[Flow] Correct frontend urls with CLI, StandaloneView, ActionViewHelper?
Bastian Waidelich
bastian at typo3.org
Tue Sep 10 10:55:43 CEST 2013
Tobias Pinnekamp wrote:
Hi Tobias,
> However to get rid of the "index.php" within the generated URL I have to
> set the environment variable
>
> putenv('REDIRECT_FLOW_REWRITEURLS=true');
This should be "FLOW_REWRITEURLS"
> Setting the variable in htaccess doesn't wok. Any ideas of this last
> glitch?
Well, the .htaccess only affects your apache web server – which is not
asked for its opinion on CLI requests ;)
Just make sure to (or let the cron job) call
FLOW_REWRITEURLS=1 ./flow your:command
Best,
--
Bastian Waidelich
--
Core Developer Team
TYPO3 .... inspiring people to share!
Get involved: typo3.org
More information about the Flow
mailing list