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?