Welcome!
Log In
Create A New Profile
Home
>
Mailing Lists
>
Nginx Mailing List - Russian
> Topic
Advanced
rewrite: как обрезать параметры при редиректе
Previous Message
Next Message
Forum List
Message List
New Topic
Print View
User
March 12, 2011 11:35PM
Registered: 13 years ago
Posts: 17
Хочу организовать редирект с запросов вида "/somescript.php?ShowItem&item=12345" на "/items/12345.htm"
Вариант
rewrite ^/somescript(.*)$ /items/$arg_item.htm permanent;
работает, но остаются параметры:
/items/12345.htm?ShowItem&item=12345
как их убрать?
Reply
Quote
RSS
Subject
Author
Posted
rewrite: как обрезать параметры при редиректе
User
March 12, 2011 11:35PM
Re: rewrite: как обрезать параметры при редиректе
Alexander Petrovsky
March 12, 2011 11:46PM
Re: rewrite: как обрезать параметры при редиректе
User
March 13, 2011 05:15AM
Sorry, only registered users may post in this forum.
Click here to login
Online Users
Guests: 293
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018