atom feed2 messages in ru.sysoev.nginxRe: php and alias
FromSent OnAttachments
Jonathan VanascoDec 8, 2006 3:18 pm 
Igor SysoevDec 9, 2006 12:17 am 
Subject:Re: php and alias
From:Igor Sysoev (is-G@public.gmane.org)
Date:Dec 9, 2006 12:17:10 am
List:ru.sysoev.nginx

On Fri, 8 Dec 2006, Jonathan Vanasco wrote:

i'm trying to figure out how to use php within an location that has alias

location /alias { alias /path/to/aliased; access_log off; access_log /var/log/nginx/testing_access.log main; error_log /var/log/nginx/testing_error.log debug; index index.php; include /usr/local/etc/nginx/_macros/php.conf; }

i can use php fine in 'root' locations. i'm having troubles mapping php to an alias location though ( /usr/local/etc/nginx/_macros/php.conf is the php config macro i wrote )

i keep seeing this: 2006/12/08 18:12:18 [debug] 7922#0: *65 http upstream check client, write event:1, "/alias/index.php"

anyone have a suggestion?

How do you map php using "root" ?