Welcome! Log In Create A New Profile

Advanced

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

antituhan
December 04, 2012 11:12AM
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@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.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

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

antituhan May 01, 2012 05:38AM

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

Cliff Wells May 01, 2012 12:22PM

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

antituhan May 01, 2012 01:00PM

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

elico May 01, 2012 01:02PM

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

Francis Daly May 01, 2012 01:54PM

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

Cliff Wells May 01, 2012 02:30PM

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

antituhan May 01, 2012 10:22PM

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

Cliff Wells May 02, 2012 12:58AM

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

antituhan May 03, 2012 09:02AM

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

Francis Daly May 03, 2012 06:44PM

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

antituhan May 11, 2012 01:00AM

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

Francis Daly May 11, 2012 04:06AM

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

antituhan November 27, 2012 07:10AM

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

Francis Daly November 30, 2012 05:40PM

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

antituhan December 04, 2012 11:12AM

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

Francis Daly December 04, 2012 12:46PM

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

antituhan December 05, 2012 09:12PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 237
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready