Welcome! Log In Create A New Profile

Advanced

Need help - rewrite from apache to nginx

Veaceslav Grecea
July 18, 2010 01:24PM
Здравствуйте.

Есть вот такие реврайт правила:

RewriteRule detail-property-results-([0-9]+).php$
/results_detail.php?pageindex=$1&lang=en
[NC,L]
RewriteRule detail-property-results.php$
/results_detail.php
[NC,L]
RewriteRule property/([0-9]+)/(.*).php$
property-detail-2?propertyid=$1&lang=$2
[R,L]
RewriteRule property-results-([0-9]+).php$
/results.php?pageindex=$1&lang=en
[NC,L]
RewriteRule property-results.php$
/results.php?lang=en [NC,L]

Я уже день мучаюсь и никак не могу перенести их под локейшены nginx-а.
Хотя бы пример по первому правилу.

Спасибо.
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

Need help - rewrite from apache to nginx

Veaceslav Grecea July 18, 2010 01:24PM

Re: Need help - rewrite from apache to nginx

hg_04 July 19, 2010 05:35AM

Re: Need help - rewrite from apache to nginx

Igor Sysoev July 19, 2010 08:00AM

Re: Need help - rewrite from apache to nginx

Veaceslav Grecea July 20, 2010 12:16PM

Re: Need help - rewrite from apache to nginx

hg_04 July 21, 2010 04:28AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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