2010年4月22日星期四

Re: [fw-mvc] Re: Trailing slashes

'SCRIPT_FILENAME', 'SCRIPT_NAME', 'ORIG_SCRIPT_NAME', 'PHP_SELF',
'REQUEST_URI' server variables are involved in dispatching process,
and they vary on different web-servers. The logic complex and I am not
explored this in the details, but you can look at
Zend\Controller\Request\Http.php

I found the topic about not the same but similar problem on the
internet, after that a created a special fastcgi_params version for
this host, where the line "fastcgi_param  SCRIPT_NAME
$fastcgi_script_name;" is just commented, so $_SERVER['SCRIPT_NAME']
is null now. That helped.

Folks, if i missed something and ZF can be configured to rely on nginx
default server variables content without adjusting nginx
fastcgi_params, please let me know. I will very appreciate this.


On Thu, Apr 22, 2010 at 10:47 AM, sina miandashti <[hidden email]> wrote:

>
> how?
>
> that was apache config problem?
>
> --
> ________________
> Sincerely
> Sina Miandashti
> MuSicBasE.ir & InvisionPower.ir Admin



--
Eduard Bareev
[hidden email]


View this message in context: Re: [fw-mvc] Re: Trailing slashes
Sent from the Zend MVC mailing list archive at Nabble.com.

没有评论: