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

antituhan dewanggaba at gmail.com
Tue Dec 4 16:10:37 UTC 2012


Hi F,

Yup, i want the fastcgi server to process the .php files. I've tried to set
like this 



While I access http://static.antituhan.com/test/tehbotol.php the error log
shows that tehbotol.php can't found on /something/test/tehbotol.php


Francis Daly wrote
> 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@

> 
> _______________________________________________
> nginx mailing list

> nginx@

> http://mailman.nginx.org/mailman/listinfo/nginx





-----
[daemon at antituhan.com ~]# 
--
View this message in context: http://nginx.2469901.n2.nabble.com/Is-it-possible-using-multiple-directive-on-different-root-location-Without-Symlinks-tp7516384p7582798.html
Sent from the nginx mailing list archive at Nabble.com.



More information about the nginx mailing list