Welcome! Log In Create A New Profile

Advanced

Rewrite an htaccess file to make it work in nginx

Posted by jeremy54 
Rewrite an htaccess file to make it work in nginx
September 03, 2014 07:10PM
Hello,

As htaccess files don't work on nginx, I would like to know how I can use the following htaccess code to make it work on nginx :
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /nos-produits-bio/
RewriteRule ^boutique\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /nos-produits-bio/boutique.php [L]
</IfModule>

For any help, I would be grateful.
Jérémy.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 181
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready