Welcome! Log In Create A New Profile


SetEnvIf To fastcgi_param Conversion

September 07, 2012 01:52AM

I have this .htaccess settings along with my Apache website; now I am moving this in to Nginx. Thus I wonder how can I put below 'SetEnvIf' parmeters in .htaccess file to Nginx configuraiton? I think its by setting up 'fastcgi_param', please help me to do the conversion.

SetEnvIf HOST albany\.mywebsite\.com MAGE_RUN_CODE=w2760
SetEnvIf HOST albany\.mywebsite\.com MAGE_RUN_TYPE=website
SetEnvIf HOST alexandria\.mywebsite\.com MAGE_RUN_CODE=w1472
SetEnvIf HOST alexandria\.mywebsite\.com MAGE_RUN_TYPE=website
SetEnvIf HOST annarbor\.mywebsite\.com MAGE_RUN_CODE=w2933
SetEnvIf HOST annarbor\.mywebsite\.com MAGE_RUN_TYPE=website

Thank You.
Subject Author Posted

SetEnvIf To fastcgi_param Conversion

iqbalmp September 07, 2012 01:52AM

Re: SetEnvIf To fastcgi_param Conversion

locojohn September 07, 2012 06:31AM

Re: SetEnvIf To fastcgi_param Conversion

iqbalmp September 07, 2012 06:54AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 117
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 466 on July 09, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready