Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Никак не пойму с try files
 
 
31.01.10, 09:21, "chs" <nginx-forum@xxxxxxxx>:
> Не пойму как сделать простую вещь
>  
>  Хочу чтобы если в папке test_folder нет файла, то отправлялось бы к apache 
> на обработчик test.php
ключевое слово - apache, мне кажется нужно от него плясать ;-)
>  
>  Если так сделать
>  
>  location ^~ /test_folder/ {
>              try_files      $uri /test_folder/test.php;
>  }
>  
>  , то он просто выводит код test.php .
>  
>  А вот как сделать, чтобы test.php исполнялся - не пойму.
>  
>  Posted at Nginx Forum: 
> http://forum.nginx.org/read.php?21,48130,48130#msg-48130
>  
>  
>  _______________________________________________
>  nginx-ru mailing list
>  nginx-ru@xxxxxxxxx
>  http://nginx.org/mailman/listinfo/nginx-ru
>  
>  
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
 
 |