Welcome! Log In Create A New Profile

Advanced

Apache To Nginx Web Server

Ahmet Selami
June 14, 2014 10:18AM
Hello,

I want to change my Web Server from Apache to Nginx, but i have a
configuration error with this server. I want to change the rewrite module
inside .htaccess, shown below, as nginx configuration rewrite module. Can
you help me how i change this module as nginx rewrite module? What is the
converted nginx module of this apache rewrite module?

Thanks,
Have a good day.


<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)/$ http://%{HTTP_HOST}/$1 [R=301,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Apache To Nginx Web Server

Ahmet Selami June 14, 2014 10:18AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 126
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