Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as Bash by ram ( 15 years ago )
location ~* ^/f8sudoku/([^.]*)$ {
             rewrite  ^/f8sudoku/([^.]*)$ /f8sudoku/index.php/$1 last;
       }


     location ~ "^(.+.php)($|/)" {


            set $script $uri;
            set $path_info ""; 

            if ($uri ~ "^(.+.php)($|/)") {
                set $script $1; 
            }   

            if ($uri ~ "^(.+.php)(/.+)") {
                set $script $1; 
                set $path_info $2; 
            }   

            root           /Users/emacsian/work/hashcube;
            fastcgi_pass   127.0.0.1:9000;
            fastcgi_index  index.php;
            fastcgi_param  SCRIPT_FILENAME  /Users/emacsian/work/hashcube$script;
            fastcgi_param  PATH_INFO        $path_info;
            include        fastcgi_params;
            fastcgi_param  SCRIPT_NAME      $script;
        }

 

Revise this Paste

Your Name: Code Language: