Hostbill nginx rewrite

Started by jcats, July 17, 2014, 06:07:20 PM

jcats

We recently switched to Nginx which is working fine other than our affiliates section.  Is anyone using Nginx with a working affiliate section?

Current rewrite config

        location /portal/downloads {
        rewrite ^/portal/downloads/?$ /portal/?cmd=downloads last;
        }
        location /portal/ {
        if (!-e $request_filename){
        rewrite ^/portal/(.*)$ /portal/index.php?/$1 last;
        }
        }

Like I said, everything works, using SEO URLS: "Apache Mod Rewrite" except for affiliate.  If you try to use the affiliate link: "http://www.domain.com/portal/?affid=123"

it redirects to "http://www.domain.com/portal/index.php/cart" All you see is:



Any ideas?

BRJP

We are using NGINX and it is working fine.  (Post some issues with 500 Server Errors).

Are you still having an issue here?  Happy to help.
Kind regards,
Bradley Porter
--------------------
Find out more about SaneChoice Services at: https://www.sanechoice.cloud/