Browse Source

fix php-silica rewrite or internal redirection cycle

Chang Long 12 years ago
parent
commit
949a1866fc
2 changed files with 1 additions and 1 deletions
  1. 1 1
      php-silica/deploy/nginx.conf
  2. 0 0
      php-silica/web/app.php

+ 1 - 1
php-silica/deploy/nginx.conf

@@ -67,7 +67,7 @@ http {
         }
 		
         location @rewriteapp {
-                rewrite ^(.*)$ /index.php/$1 last;
+                rewrite ^(.*)$ /app.php/$1 last;
         }
 
         # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000

+ 0 - 0
php-silica/web/index.php → php-silica/web/app.php