Re: 有已粤载 index.php

Sergey Shepelev temotor 瘟 gmail.com
髟 嵝 12 17:17:26 MSD 2011


2011/4/12 kirpich <nginx-forum at nginx.us>:
> 湎乱偈 呐呜, 邢挠肆稚耘 肆 幽盘猎
> 遗滓潦. 罅试 瘟猩恿  捎邢特谙琢紊磐
> Zend Framework.  牧挝偈 拖团卧 遗滓潦
> 踪翘涯稍 粤
>
>  location / {
>
>      歩f ($request_filename != "index.php") {
>        歳ewrite ^(.*)$ /index.php;
>       }
>
> ....
>
> }
>
> 庞躺 踪谧猎 http://赏裚恿试.ru/index.php
> 踪塘谏 谂文献铀裂 羡陕肆, 毩 庞躺
> http://赏裚恿试.ru/index.php/news 显艘僮僚杂
> 伊谀盘 news. 柘耘滔迂 沦 拊下 沦滔
> http://赏裚恿试.ru/news
>

location / {
  proxy_pass http://apache/index.php$request_uri?;
}


鹣囊下瘟 晌葡彝撩裳 有捎伺 伊佑偬松 nginx-ru