Welcome! Log In Create A New Profile

Advanced

Re: Nginx with PHP on Windows

November 10, 2014 03:32AM
It makes no difference as this combo;

root '/path/';
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;

open_basedir = '/path/'
doc_root = '/path/'

Next to jailing, this boxes everything in.

With location /.../ '.php' you fine-tune where scripts live which may be run.

I'd leave cgi.force_redirect commented, ea. not set to anything at all.

---
nginx for Windows http://nginx-win.ecsds.eu/
Subject Author Posted

Nginx with PHP on Windows

c0nw0nk November 09, 2014 07:31AM

Re: Nginx with PHP on Windows

itpp2012 November 09, 2014 09:03AM

Re: Nginx with PHP on Windows

c0nw0nk November 09, 2014 09:19AM

Re: Nginx with PHP on Windows

itpp2012 November 09, 2014 09:35AM

Re: Nginx with PHP on Windows

c0nw0nk November 09, 2014 12:50PM

Re: Nginx with PHP on Windows

c0nw0nk November 10, 2014 02:46AM

Re: Nginx with PHP on Windows

itpp2012 November 10, 2014 03:32AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 239
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