Welcome! Log In Create A New Profile

Advanced

Breaking my mind on this

Posted by roosterling 
Breaking my mind on this
September 10, 2015 05:53AM
I hope someone can help me with this. I'm a happy Nginx user and I want to use it for a 'custom' application. I use Nginx for years for Magento and Wordpress installs, and of course these configs are easy to find on Google.

Because I'm missing the basic knowledge on Apache and custom Nginx rules I'm not able to convert the Apache rules to the correct Nginx rules. Reading the documentation is like ready a good Japanese book for me.

The Apache rules:
RewriteCond $1 !^(tool|web|files)
RewriteCond %{REQUEST_URI} !((.*)\.(.*))$
RewriteRule ^(.*)$ dispatcher.php?route=/$1 [NC,L]
RewriteRule ^(img|css|js)/(.*) web/$1/$2 [L,QSA]

Thank you in advance!
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 123
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready