301 Redirect Rule gives different results on different hosting environment
I have been doing some URL rewriting for a customer in a test environment that work fine in my environment but when I move to theirs I get different results and the rule fails. 

I am 301 redirecting legacy dynamic URLs in the following format: 

    http://www.companyname.com/page.php?pagename=AboutCompany&lang=EN
    to
    http://www.companyname.com/EN/about-company/

Using the ruleset below this works fine on my 'Heart Internet' shared hosting but fails on their 'Go Daddy' shared hosting (configs below). On the Go Daddy environment the legacy URL gets redirected to: 

    http://www.companyname.com/GET/about-company/
    instead of
    http://www.companyname.com/EN/about-company/

where does the 'GET' come? This is a barebones page with no other code influencing these rules. 

    RewriteCond %{QUERY_STRING} pagename=AboutCompany
    RewriteCond %{QUERY_STRING} lang=([^&]+)
    RewriteCond %{THE_REQUEST} ^(GET|HEAD)\ /page.php
    RewriteRule ^page.php$ /%1/about-company/? [R=301,L]

    RewriteRule ^([A-Za-z]+)/about-company$ page.php?pagename=AboutCompany&lang=$1 [NC,L]
    RewriteRule ^([A-Za-z]+)/about-company/$ page.php?pagename=AboutCompany&lang=$1 [NC,L]

The 'lang' querystring differs depending on the user language preference (EN or FR or DE etc...) 

<strong>Test Enviroment: </strong><br/>
Windows  <br/>
IIS7.5  <br/>
PHP 5.3.6  <br/> 

<strong>Customer Enviroment:</strong>  <br/>
Linux  <br/>
Apache  <br/>
PHP 5.2  <br/>

Thanks, M. 
301 Redirect Rule gives different results on different hosting environment
===

I have been doing some URL rewriting for a customer in a test environment that work fine in my environment but when I move to theirs I get different results and the rule fails. 

I am 301 redirecting legacy dynamic URLs in the following format: 

    http://www.companyname.com/page.php?pagename=AboutCompany&lang=EN
    to
    http://www.companyname.com/EN/about-company/

Using the ruleset below this works fine on my 'Heart Internet' shared hosting but fails on their 'Go Daddy' shared hosting (configs below). On the Go Daddy environment the legacy URL gets redirected to: 

    http://www.companyname.com/GET/about-company/
    instead of
    http://www.companyname.com/EN/about-company/

where does the 'GET' come? This is a barebones page with no other code influencing these rules. 

    RewriteCond %{QUERY_STRING} pagename=AboutCompany
    RewriteCond %{QUERY_STRING} lang=([^&]+)
    RewriteCond %{THE_REQUEST} ^(GET|HEAD)\ /page.php
    RewriteRule ^page.php$ /%1/about-company/? [R=301,L]

    RewriteRule ^([A-Za-z]+)/about-company$ page.php?pagename=AboutCompany&lang=$1 [NC,L]
    RewriteRule ^([A-Za-z]+)/about-company/$ page.php?pagename=AboutCompany&lang=$1 [NC,L]

The 'lang' querystring differs depending on the user language preference (EN or FR or DE etc...) 

<strong>Test Enviroment: </strong><br/>
Windows  <br/>
IIS7.5  <br/>
PHP 5.3.6  <br/> 

<strong>Customer Enviroment:</strong>  <br/>
Linux  <br/>
Apache  <br/>
PHP 5.2  <br/>

Thanks, M. 