Apache事件&x2B;PHP FPM和允许URL重写
我一直在使用ApachePrefork并使用.htaccess文件重写URL 现在我想转到Apache事件和PHP FPM,但我看不到任何重写URL的方法。 我知道.user.ini文件,但在其中也看不到任何可以执行此操作的文件 有没有一种方法可以将URL重写与MPM FCGI一起使用 这是我的.htaccessApache事件&x2B;PHP FPM和允许URL重写,php,apache,url-rewriting,fastcgi,Php,Apache,Url Rewriting,Fastcgi,我一直在使用ApachePrefork并使用.htaccess文件重写URL 现在我想转到Apache事件和PHP FPM,但我看不到任何重写URL的方法。 我知道.user.ini文件,但在其中也看不到任何可以执行此操作的文件 有没有一种方法可以将URL重写与MPM FCGI一起使用 这是我的.htaccess Options FollowSymLinks ExecCGI AllowOverride All #ignore files RewriteCond %{REQUEST_FILENAM
Options FollowSymLinks ExecCGI
AllowOverride All
#ignore files
RewriteCond %{REQUEST_FILENAME} !-f
#ignore directories
RewriteCond %{REQUEST_FILENAME} !-d
#pass everything else to index.php
RewriteRule ^(.*)$ /php/index.php?_view=$1 [L,QSA]
RewriteRule ^$ /php/index.php?_view=index [L,QSA]
你考虑过这个吗?杰伊,我不知道这是怎么回答我的问题的。我曾尝试将这些规则放在apache conf文件而不是.htaccess文件中,但结果得到了相同的500页。