php and alias
Igor Sysoev
is at rambler-co.ru
Sat Dec 9 11:17:33 MSK 2006
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" ?
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list