View Single Post
  #4  
Old 11-06-2015, 08:52 AM
  razortw's Avatar 
razortw razortw is offline
 

X-Cart team
  
Join Date: Feb 2015
Posts: 807
 

Default Re: 5.2.9 broke store with index failure

Quote:
Originally Posted by cleverwise
Thanks for taking the time to respond.

Unfortunately as my signature line says I am using Nginx, therefore .htaccess isn't possible.

I have spent a lot of time converting all the Apache rules to Nginx rules. On 5.2.6 everything was working fine, however obviously something changed in 5.2.9 that is causing Nginx to handle the URI differently.

In a development copy I think I found the answer which did require a rule change in Nginx although not the index one. I do want to share my Nginx rules with the community as I think XCart performs far better on Nginx over Apache.

Why fork a 40MB+ instance to serve a jpg, png, css, etc? That is nuts. Nginx is so much nicer but it has been a journey getting all these rules rewritten.

Thanks again though for your suggestion I do appreciate you trying to help!

* I'll post back when all is confirmed and open another thread with Nginx rules.
As far as I know, you can set up similar rule in the nginx config as well.
We've faced similar issue on nginx servers couple times, and it was successfully sorted out by the hosting team.

By the way, X-Cart 5 indeed performs better on nginx.
From my experience, I would say the best configuration to run X-Cart 5 would be nginx + PHP 5.5 + opcache.
__________________
Best regards,
Igor Pudovkin
X-Cart hosting team
Reply With Quote