On Sat, Dec 17, 2011 at 9:58 PM, tapir <nginx-forum@nginx.us> wrote:
> I've added "fastcgi_param SCRIPT_FILENAME
> $document_root/wordpress$fastcgi_script_name;"
> and now it works.
>
> As you might predict "$document_root/wordpress" is the alias for
> "location /".
> So what's the correct way of doing this? I mean I have other aliases as
> well and I would like php to work with those also.
>
combining alias and fastcgi (php) is the fastest way to get headache.
Go with symlink instead.
--
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx