Nginx下配置ZendFramework的rewrite功能

 

 


location / {
            root   /home/tx/workspace/tx-do/public;
            index  index.html index.php;
           if (!-e $request_filename) {
                rewrite ^/(.*)$ /index.php last;
            }
      }

posted @ 2012-07-20 16:58  信管小子  阅读(508)  评论(0编辑  收藏  举报