ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

301-й редирект URL'a с парамет рами


  • To: nginx-ru@xxxxxxxxx
  • Subject: 301-й редирект URL'a с парамет рами
  • From: "burbuil" <nginx-forum@xxxxxxxx>
  • Date: Wed, 07 Apr 2010 07:01:57 -0400
  • Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mickey.jlkhosting.com; s=x; h=Sender:From:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To:Date; bh=HsYWd4NdUPq8yvZL0hb3soD58P5xVnw+1ofw7lr9R0g=; b=sgskVVIxXA0YkwR/II4keZ+icYr1SdTaME5QneMXiMSu96I945AZyWHJfdT0VP8yn21/9DVAdDFR3BziBzZBvlOrXRpD3Z92hpFn2SJ4IxwnZEc/kZG+8DNPtaeDHubF;

Доброго времени суток.

Нужно сделать 301-й редирект:

   /programs/detail.php?id=648 на /programs/qqq/
   /ill/detail.php?section_id=113&id=549 на /xxx/yyy/zzz/


Правила вида:

    rewrite ^/programs/detail\.php\?id=648$ /programs/qqq/ permanent;
    rewrite ^/ill/detail\.php\?section_id=113&id=549$ /xxx/yyy/zzz/ permanent;

не работают. Предположительно это из-за ?

Posted at Nginx Forum: http://forum.nginx.org/read.php?21,72260,72260#msg-72260


_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.