View Single Post
  #3  
Old 11-06-2015, 08:37 AM
 
cleverwise cleverwise is offline
 

Advanced Member
  
Join Date: Jun 2014
Posts: 74
 

Default Re: 5.2.9 broke store with index failure

Quote:
Originally Posted by razortw
Hi.
You should add the DirectoryIndex directive to your .htaccess, it should point at cart.php.
cart.php is the customer entry point by default.

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.
__________________
Respectfully,

Jeremy

X-Cart 5.3 running on:
* Web server: Nginx with PHP-FPM via FastCGI (Opcache enabled)
* Database: Percona Server
* OS: CentOS
Reply With Quote