Welcome! Log In Create A New Profile

Advanced

SetEnvIf To fastcgi_param Conversion

This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
September 07, 2012 01:52AM
Hi,

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



Online Users

Guests: 89
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready