note 126318 added to yaf.tutorials

From: Date: Sat, 07 Aug 2021 19:43:40 +0000
Subject: note 126318 added to yaf.tutorials
Groups: php.notes 
Request: Send a blank email to php-notes+get-216753@lists.php.net to get a copy of this message
PHP8 Yaf3.3.3 按照官网配置 导致Nginx死循环: rewrite or internal redirection cycle while processing "/index.phpindex.phpindex....... 解决: Example #3 Rewrite rule #for nginx server { listen ****; server_name domain.com; root document_root; index index.php index.html index.htm; if (!-e $request_filename) { rewrite ^/(.*) /index.php?$1 last; } } 唯一的变化,是 多出1个 ?问号 ---- Server IP: 45.112.84.4 Probable Submitter: 45.112.85.242 (proxied: 2605:52c0:2:3b3::) ---- Manual Page -- https://php.net/manual/en/yaf.tutorials.php Edit -- https://main.php.net/note/edit/126318 Del: integrated -- https://main.php.net/note/delete/126318/integrated Del: useless -- https://main.php.net/note/delete/126318/useless Del: bad code -- https://main.php.net/note/delete/126318/bad+code Del: spam -- https://main.php.net/note/delete/126318/spam Del: non-english -- https://main.php.net/note/delete/126318/non-english Del: in docs -- https://main.php.net/note/delete/126318/in+docs Del: other reasons-- https://main.php.net/note/delete/126318 Reject -- https://main.php.net/note/reject/126318 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#216753) next »