atom feed5 messages in ru.sysoev.nginxRe: rewrite rule from apache
FromSent OnAttachments
matt91Jun 1, 2009 3:59 pm 
matt91Jun 2, 2009 2:59 am 
Jim OhlsteinJun 2, 2009 8:03 am 
Cliff WellsJun 2, 2009 9:27 am 
matt91Jun 2, 2009 12:35 pm 
Subject:Re: rewrite rule from apache
From:matt91 (ngin@nginx.us)
Date:Jun 2, 2009 2:59:44 am
List:ru.sysoev.nginx

figured them out:

rewrite ^/bg_sound_([^_]*)\.xspf$
/includes/bg_audio_player/bg_sound.php?tributeid=$1 break; rewrite ^/adamcarter$ /tributedetails.php?name=elvis_adam_carter&page=1 break;

I have one problem now, that is that they are not processed by php as the
rewrites are in the "location /" and not "location ~.*php$", is their any way to
fix this other than putting the fastcgi lines in the "location /" section?

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,2537,2557#msg-2557