ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Nginx предлагает сохранит ь php страницу .



On Wed, Dec 02, 2009 at 10:02:30AM -0500, 100matolog wrote:

> nginx-0.7.64
> php-fpm-0.6-5.2.11
> 
> worker_processes 100;
> worker_priority -5;
> worker_rlimit_nofile 51200;
> 
> events {
>     worker_connections  51200;
>     use                 kqueue;
> }
> 
> http {
>     include             mime.types;
>     default_type        application/octet-stream;
> 
>     log_format  main    '$remote_addr - $remote_user [$time_local] $request '
>                         '"$status" $body_bytes_sent "$http_referer" '
>                         '"$http_user_agent" "$http_x_forwarded_for"';
> 
>     server_names_hash_bucket_size       512;
>     sendfile            on;
>     tcp_nopush          on;
>     keepalive_timeout   70 30;
>     send_timeout        30s;
>     reset_timedout_connection   on;
>     resolver            127.0.0.1;
>     resolver_timeout    10s;
> 
>     open_file_cache             max=100000 inactive=40s;
>     open_file_cache_valid       60s;
>     open_file_cache_min_uses    2;
>     open_file_cache_errors      on;
> 
> 
> ########################SERVER_LOCALHOST##############################
> 
>     server {
>         listen          80;
>         server_name     fpm.test.ua;
>         location / {
>             root        /usr/local/www/nginx;
>             index       index.html index.htm index.php;
>           access_log /var/log/nginx/localhost-access.log;    
>                  }
>           }
> #####################################################################
> if (!-e $request_filename) {
> rewrite ^.*$ /index.php last;
> }
> 
> ####################        PHP_MY_ADMIN       #####################
> 
> 
>  location /.,ak,234sfyf34.:,.s/ {
>             alias       /usr/local/www/phpMyAdmin/;
>             index       index.html index.htm index.php;
>             auth_basic  Admin;
>             auth_basic_user_file /usr/local/www/phpMyAdmin/.htpasswd;
>         }
> 
> ###################       PHP-FPM              ######################
> 
> 
> location ~* \.php$ {
>             fastcgi_pass        unix:/tmp/php.sock;
>             fastcgi_index       info.php;
>             fastcgi_param       SCRIPT_FILENAME  
> /usr/local/www/nginx-dist/$fastcgi_script_name;
>             include             fastcgi_params;
>         }
> 
> 
> error_page      500 502 503 504         /50x.html;
>         location = /50x.html {
>             root        /usr/local/www/nginx-dist;
>         }
> }
> }
> 
> 
> 
> Куда смотреть - что править?

Я правильно понимаю, что проблемы только с PHP_MY_ADMIN ?


-- 
Игорь Сысоев
http://sysoev.ru

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.