Welcome! Log In Create A New Profile

Advanced

Re: rewrite rule from apache

June 02, 2009 12:27PM
On Tue, 2009-06-02 at 06:00 -0400, matt91 wrote:
> 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$",

location ~ \.php$

> is their any way to fix this other than putting the fastcgi lines in
> the "location /" section?

You shouldn't need to. Post your config file here.

Cliff

--
http://www.google.com/search?q=vonage+sucks
Subject Author Posted

rewrite rule from apache

matt91 June 01, 2009 06:59PM

Re: rewrite rule from apache

matt91 June 02, 2009 06:00AM

Re: rewrite rule from apache

Cliff Wells June 02, 2009 12:27PM

Re: rewrite rule from apache

Jim Ohlstein June 02, 2009 11:03AM

Re: rewrite rule from apache

matt91 June 02, 2009 03:36PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 167
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready