问题描述
- 请帮忙把.htaccess中的rewrite转成SAE要求的config.yaml规则
-
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
解决方案
- rewrite: if(!is_dir() && !is_file()) goto "index.php"
时间: 2025-01-21 00:54:19