Apache To Nginx Web Server

2014-06-14 Thread Ahmet Selami
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

Apache To Nginx Web Server

2014-06-14 Thread Ahmet Selami
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