June 16, 2010 06:04AM
On Wed, Jun 16, 2010 at 05:59:54AM -0400, hg_04 wrote:

> [code]
> if ($host = 'pda.myfourm.ru' ) {
> rewrite ^/$ myforum.ru/?pda permanent;
> }
> [/code]

Ни в коем случае:
http://nginx.org/en/docs/http/converting_rewrite_rules.html


--
Игорь Сысоев
http://sysoev.ru

_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

редирект с подменой строки

sum June 14, 2010 10:22AM

Re: редирект с подменой строки

Craken June 15, 2010 05:47PM

Re: редирект с подменой строки

hg_04 June 16, 2010 05:59AM

Re: редирект с подменой строки

Igor Sysoev June 16, 2010 06:04AM

Re: редирект с подменой строки

hg_04 June 16, 2010 08:35AM

Re: редирект с подменой строки

Igor Sysoev June 16, 2010 08:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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