Welcome! Log In Create A New Profile

Advanced

Apache --> nginx

March 06, 2012 07:09AM
Помогите пожалуйста с написанием правила замены на nginx.
Я создал вот такое вот правило на апаче:
RewriteRule ^(robots).txt$ $1.php [L]
(надо подменить файл robots.txt файлом robots.php)
Как такое же правило реализовать для сервера, работающего на nginx?
Subject Author Posted

Apache --> nginx

borinets March 06, 2012 07:09AM

Re: Apache --> nginx

Маркел Мохначевский March 06, 2012 07:16AM

Re: Apache --> nginx

borinets March 06, 2012 07:21AM

Re: Apache --> nginx

Маркел Мохначевский March 06, 2012 07:18AM

Re: Apache --> nginx

borinets March 06, 2012 07:24AM

Re: Apache --> nginx

borinets March 06, 2012 08:00AM

Re: Apache --> nginx

kemko March 06, 2012 08:02AM

Re: Apache --> nginx

kemko March 06, 2012 08:06AM

Re: Apache --> nginx

Slava Kokorin March 06, 2012 08:08AM

Re: Apache --> nginx

Маркел Мохначевский March 06, 2012 08:22AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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