PHP not working in regex locations (?)
Jonathan Vanasco
nginx at 2xlp.com
Tue Apr 21 22:49:33 MSD 2009
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 at 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
| - - - - - - - - - -
More information about the nginx
mailing list