| Subject: | Re: fastcgi server variables vs. apache | |
|---|---|---|
| From: | Igor Sysoev (ig...@sysoev.ru) | |
| Date: | Dec 10, 2009 6:40:17 am | |
| List: | ru.sysoev.nginx | |
Refine Search
| From | Sent On | Attachments |
|---|---|---|
| androo | Apr 6, 2009 4:54 pm | |
| Denis F. Latypoff | Apr 6, 2009 7:49 pm | |
| androo | Apr 7, 2009 8:02 pm | |
| My SchizoBuddy | Dec 10, 2009 6:27 am | |
| Igor Sysoev | Dec 10, 2009 6:40 am | |
| spirit | Dec 16, 2009 5:39 am | |
| Igor Sysoev | Dec 16, 2009 5:55 am | |
| locojohn | Jul 7, 2011 6:21 am |
| Subject: | Re: fastcgi server variables vs. apache | |
|---|---|---|
| From: | Igor Sysoev (ig...@sysoev.ru) | |
| Date: | Dec 10, 2009 6:40:17 am | |
| List: | ru.sysoev.nginx | |
On Thu, Dec 10, 2009 at 03:28:17PM +0100, My SchizoBuddy wrote:
what is /path/to/php? is it where the root index.php is
for links like dev.flow3.local/index.php/flow3/welcome the path_translated is C:/nginx/html/flow3/Web/flow3/welcome which is wrong cause there is no folder flow3 inside the Web folder. flow3 and welcome are query parameters not folders.
location ~ ^(.+\.php)(.*)$ { fastcgi_split_path_info ^(.+\.php)(.*)$; fastcgi_param SCRIPT_FILENAME C:/nginx/html$fastcgi_script_name; fastcgi_param PATH_INFO $fastcgi_path_info; ... }
For dev.flow3.local/index.php/flow3/welcome SCRIPT_FILENAME will be "C:/nginx/html/index.php" PATH_INFO - "/flow3/Web/flow3/welcome"
-- Igor Sysoev http://sysoev.ru/en/
_______________________________________________ nginx mailing list ngi...@nginx.org http://nginx.org/mailman/listinfo/nginx

