[TYPO3-english] Application Context
Markus Klein
klein.t3 at reelworx.at
Fri Jan 16 15:54:16 CET 2015
The $1 seems wrong.
The rule should not do any rewriting, but only set the environment variable.
Kind regards
Markus
------------------------------------------------------------
Markus Klein
TYPO3 CMS Active Contributors Team Member
> -----Original Message-----
> From: typo3-english-bounces at lists.typo3.org [mailto:typo3-english-
> bounces at lists.typo3.org] On Behalf Of Bernhard Schenkenfelder
> Sent: Friday, January 16, 2015 3:09 PM
> To: typo3-english at lists.typo3.org
> Subject: [TYPO3-english] Re: Application Context
>
> Thank you, Markus!
>
> Just in case others run into the same problem, here's the solution to the
> problem:
>
> RewriteCond %{HTTP_HOST} ^dev\.example\.com$
> RewriteRule (.*) $1 [E=TYPO3_CONTEXT:Development]
> RewriteCond %{HTTP_HOST} ^www\.example\.com$
> RewriteRule (.*) $1 [E=TYPO3_CONTEXT:Production]
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list