Comments on Running OXID eShop Community Edition (Version 4.5.9) On Nginx (LEMP) on Debian Squeeze/Ubuntu 11.10

Running OXID eShop Community Edition (Version 4.5.9) On Nginx (LEMP) on Debian Squeeze/Ubuntu 11.10 This tutorial shows how you can install and run OXID eShop Community Edition (version 4.5.9) on a Debian Squeeze or Ubuntu 11.10 system that has nginx installed instead of Apache (LEMP = Linux + nginx (pronounced "engine x") + MySQL + PHP). OXID eShop is a feature-rich ecommerce platform; I will use the Community Edition here which is licensed under an open source certified license (GPL v3.0). nginx is a HTTP server that uses much less resources than Apache and delivers pages a lot of faster, especially static files.

5 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Norbert

The Oxid weblink provided in the how to, does not work!

They moved things!

I found the download link, however the download does not complete, it stops at about 50%. Tried it three times, same result.

The download is extremely throttled to a minimum, or lets say the speed of a 33 Kbaud modem.

I think it is unacceptable, even if for free or trial.

Will not consider this software!

By: Anonymous

So if you're on your way to the BMW dealership and traffic is slow, is a BMW no longer considered worthwhile?

Anyways, I've downloaded this software several times (over several years) and have never had 'throttling' issues.  Maybe your interweb was having a bad day.  Also, there is more than one way to skin a cat.  Had you tried an alternative, you may of found (among others):

http://www.oxidforge.org/downloads

By: Anonymous

I've been testing out the vhosts configuration file suggested here, using it as somewhat of a learning platform for NGINX and have found some important things to note:

  •  Foremost, it is not secure.  As is, anybody will be able to download raw php files from the applicable site.
  • The handling of oxseo.php is not complete.  Query arguments are dropped which will lead to some pages not rendering correctly.

 

I am no NGINX expert, and maybe I was missing something when testing.  But from what I've read about NGINX so far, the above issues make sense relative to the configuration.

By: svizzera

could you please update this to Oxid 4.7.x ?

By: Ravikiran

Hi all,

i was trying to configure the same thing to alias in nginx. if it is in apache we can simply modify the RewriteBase /<alias>. if it is the same thing in nginx alias like example.com/<alias> then how would be the code..? Please help. below mentioned code is my configuration ( i have converted htaccess code from apache to nginx online). now the problem is either im able to generated folder article images or banner images but not both at a time. i tried multiple ways. nothing worked for me. my code as follows.

# nginx configuration

location ~ /config.inc.php {

rewrite ^(.*)$ / redirect;

}

 

        location ~ (\/admin\/|\/core\/|\/application\/|\/export\/|\/modules\/|\/setup\/|\/tmp\/|\/views\/) {

        }

        autoindex off;

        location /<alias> {

        if ($request_method ~ "^(TRACE|TRACK)"){

                return 403;

        }

        if ($request_uri ~ "oxseo\.php$"){

                rewrite oxseo\.php$ /<alias>/oxseo.php?mod_rewrite_module_is=on break;

        }

        if (!-e $request_filename){

                rewrite !(\.html|\/|\.jpg|\.css|\.pdf|\.doc|\.gif|\.png|\.js|\.htc|\.svg)$ /<alias>/$request_uri/ redirect;

        }

        if (!-e $request_filename){

                rewrite (\.html|\/)$ /<alias>/oxseo.php;

        }

        if ($request_uri ~ "(\/out\/pictures\/)"){

        rewrite (\.jpg|\.gif|\.png|\.svg)$ /<alias>/getimg.php;

        }

        if ($request_uri ~ "(\/out\/pictures\/promo\/)"){

                rewrite !(\.html|\/|\.jpg|\.css|\.pdf|\.doc|\.gif|\.png|\.js|\.htc|\.svg)$ /<alias>/$request_uri/ redirect;

        }

        }

        location ~ (EXCEPTION_LOG\.txt|\.log$|\.tpl$|pkg\.rev|\.ini|pkg\.info|\.pem$) {

        deny all;

        }