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

Francis Daly francis at daoine.org
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 http://static.antituhan.com/test/tehbotol.php

What file do you want the fastcgi server to process when you request
http://static.antituhan.com/test/tehbotol.php?

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.

	f
-- 
Francis Daly        francis at daoine.org



More information about the nginx mailing list