Welcome! Log In Create A New Profile

Advanced

PHP not working in regex locations (?)

Jonathan Vanasco
April 21, 2009 02:49PM
This command serves the right directories, and pipes them through php:

location /careers) {
root /home/artwelove/_current/web/www.artwelove.com-news/news;
include /usr/local/nginx/_macros/php.conf;
index index.php index.html;
}


This command serves the right directories, but does not pipe them
through php:

location ~ /careers {
root /home/artwelove/_current/web/www.artwelove.com-news/news;
include /usr/local/nginx/_macros/php.conf;
index index.php index.html;
}


I can't figure this one out... This is a simplified example, but just
changing the location to a regex kills the php ability

Anyone have a clue ?

Oh, and this is on nginx 0.6.34:


// Jonathan Vanasco

e. jonathan@2xlp.com
w. http://findmeon.com/user/jvanasco
blog. http://destructuring.net

| - - - - - - - - - -
| Founder/CEO - FindMeOn, Inc.
| FindMeOn.com - The cure for Multiple Web Personality Disorder
| - - - - - - - - - -
| CTO - ArtWeLove, LLC
| ArtWeLove.com - Explore Art On Your Own Terms
| - - - - - - - - - -
| Founder - SyndiClick
| RoadSound.com - Tools for Bands, Stuff for Fans
| - - - - - - - - - -
Subject Author Posted

PHP not working in regex locations (?)

Jonathan Vanasco April 21, 2009 02:49PM

Re: PHP not working in regex locations (?)

Igor Sysoev April 21, 2009 04:31PM

Re: PHP not working in regex locations (?)

Jonathan Vanasco April 21, 2009 06:38PM

Re: PHP not working in regex locations (?)

mike April 21, 2009 06:59PM

Re: PHP not working in regex locations (?)

Jonathan Vanasco April 21, 2009 08:49PM

Re: PHP not working in regex locations (?)

mike April 22, 2009 01:50AM

Re: PHP not working in regex locations (?)

Igor Sysoev April 22, 2009 02:42AM

Re: PHP not working in regex locations (?)

Jonathan Vanasco April 22, 2009 10:39AM

Re: PHP not working in regex locations (?)

Jonathan Vanasco April 22, 2009 03:16PM

Re: PHP not working in regex locations (?)

Jonathan Vanasco April 23, 2009 01:54PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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