Switched to uppercase for SERVER vars because of conflict with .htaccess