Explorar el Código

fix php-silica rewrite or internal redirection cycle

Chang Long hace 12 años
padre
commit
949a1866fc
Se han modificado 2 ficheros con 1 adiciones y 1 borrados
  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