Re: MODx?

Alexandr Mikhal'kov mikhalkov gmail.com
16 14:24:02 MSK 2010


 

location /manager {
}

2010/12/14   <public-mail  alekciy.ru>:
>  ,  ,        MODx
> ?   ,  
> (http://sysoev.ru/nginx/docs/faq.html) :
>
>    location / {
>      if (!-e $request_filename) {
>        rewrite ^/(.*)$ /index.php?q=$1 last;
>      }
>    }
>
>    location ~* ^.+\.(img|gif|png|jpg|jpeg|ico|zip|css|js) {
>      root      /var/www/user/data/www/test/;
>      access_log   off;
>      expires     max;
>      add_header   Cache-Control private;
>    }
>
>    location ~ \.php$ {
>        fastcgi_pass  127.0.0.1:9007;
>        fastcgi_index  index.php;
>        #     chroot
>        fastcgi_param  SCRIPT_FILENAME /www/test$fastcgi_script_name;
>        include     /etc/nginx/fastcgi_params;
>    }
>
> (MODx        $uri,    
> index.php  $_REQUEST['q'] = substr($_REQUEST['q'], 1) 
>  ).      ,  
>    /manager/  .    
>   .htaccess mod_rewrite ,    
>     /manager/ ?
>
>          nginx ?
> _______________________________________________
> nginx-ru mailing list
> nginx-ru  nginx.org
> http://nginx.org/mailman/listinfo/nginx-ru
>



-- 
Alexandr [ G100m ] Mikhal`kov
___________________________________________________________
Angels can fly because they take themselves lightly


nginx-ru