Welcome! Log In Create A New Profile

Advanced

Re: Re[2]: RewriteCond ?

October 28, 2010 11:29AM
Спасибо все, сделал с location
[code]
location ~ ^/(([-_a-zA-Z0-9/]+)([-_a-zA-Z0-9]+))$ {
rewrite ^(.*)$ http://$http_host$1/ permanent;
}
[/code]
Кому интересно.
Subject Author Posted

Проблема с RewriteCond можно ли использовать регулярки в условиях?

Halfi October 27, 2010 06:02PM

Re: Проблема с RewriteCond можно ли использовать регулярки в условиях?

Sergey Shepelev October 27, 2010 06:12PM

Re: Проблема с RewriteCond можно ли использовать регулярки в условиях?

Halfi October 27, 2010 07:04PM

Re: Проблема с RewriteCond можно ли использовать регулярки в условиях?

Sergey Shepelev October 27, 2010 07:30PM

Re: Проблема с RewriteCond можно ли использовать регулярки в условиях?

Denis Filimonov October 28, 2010 12:22AM

Re[2]: RewriteCond ?

Andrey Repin October 28, 2010 05:52AM

Re: Re[2]: RewriteCond ?

Halfi October 28, 2010 11:13AM

Re: Re[2]: RewriteCond ?

Halfi October 28, 2010 11:29AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 103
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready