Welcome! Log In Create A New Profile

Advanced

is it possible to run xt-commerce on nginx?

Posted by ovidiu 
is it possible to run xt-commerce on nginx?
February 11, 2013 11:55AM
I googled for hours but can't find an answer to this question. Checking the requirements to run xt-comerce: http://www.xt-commerce.co.uk/shop-software/functions/system-requirements.html I'd say it is definitely possible and my server fullfills all of those requirements yet no luck.

Basically I'm moving an existing xt-commerce site onto a new server - it was previously hosted on apache2 so I attempted to convert the working .thaccess file:

DirectoryIndex index.php

RewriteEngine on

RewriteCond %{REQUEST_URI} !^/media/
RewriteCond %{REQUEST_URI} !^/extAdmin/
RewriteCond %{REQUEST_URI} !^/skin/
RewriteCond %{REQUEST_URI} !^/js/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l

RewriteRule .* index.php


into

if ($uri !~ "^/media/"){
set $rule_0 1$rule_0;
}
if ($uri !~ "^/extAdmin/"){
set $rule_0 2$rule_0;
}
if ($uri !~ "^/skin/"){
set $rule_0 3$rule_0;
}
if ($uri !~ "^/js/"){
set $rule_0 4$rule_0;
}
if (!-f $request_filename){
set $rule_0 5$rule_0;
}
if (!-d $request_filename){
set $rule_0 6$rule_0;
}
if ($request_filename !~ "-l"){
set $rule_0 7$rule_0;
}
if ($rule_0 = "7654321"){
rewrite /.* /index.php;
}


but no luck so far. All I can find in nginx's error log is this:

2013/02/11 17:49:34 [crit] 308390#0: *78 open() "/var/www/saimafashion.com/web/" failed (13: Permission denied), client: 41.185.135.5, server: saimafashion.com, request: "GET / HTTP/1.1", host: "www.saimafashion.com"

And if I open http://www.saimafashion.com/ you can see the error for yourself...

Anyone able to help me out here?
Re: is it possible to run xt-commerce on nginx?
February 12, 2013 03:50AM
Ok, it is possible and runs just fine, it turns out I made a msitake :-)
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 67
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready