Bladeren bron

fix php-silica rewrite or internal redirection cycle

Chang Long 12 jaren geleden
bovenliggende
commit
9dc43671d9
2 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  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