Is it possible using multiple directive on different root location? (Without Symlinks)

Francis Daly francis at
Fri Nov 30 22:38:53 UTC 2012

On Tue, Nov 27, 2012 at 04:08:21AM -0800, antituhan wrote:

Hi there,

> Change $document_root$fastcgi_script_name into $document_root$1, but I still
> got 403 Forbidden when access

What file do you want the fastcgi server to process when you request

If it is /something/test/tehboto1.php, then put "root /something" inside
the location{} block and use $document_root$fastcgi_script_name.

If it isn't, then you'll need to build what it is in some other way.

Francis Daly        francis at

More information about the nginx mailing list