[fpc-pascal] Re: Nginx, FastCGI and /module/action vs ?module=module&action=action

leledumbo leledumbo_cool at yahoo.co.id
Mon Jul 23 02:46:29 CEST 2012

Basically I just have to add this:

location / {
	fastcgi_split_path_info ^((?U).+www.tkd1depok.org)(/?.+)$;
	fastcgi_param  PATH_INFO          $fastcgi_path_info;
	fastcgi_param  PATH_TRANSLATED    $document_root$fastcgi_path_info;
        fastcgi_param  SCRIPT_FILENAME   
        # previous configuration

and that's the cause of empty PATH_INFO. I'm still having an issue with
fpwebfile can't map uri to the correct file (it returns empty string), but I
guess it shouldn't be difficult to solve.

View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Nginx-FastCGI-and-module-action-vs-module-module-action-action-tp5710411p5710418.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.

More information about the fpc-pascal mailing list