你好我试图用php / .htacces获得漂亮的网址,但我收到500个服务器错误,无法找到我做错了什么。
这是我使用的htacces文件:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /bulkmailer/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/(.*)/(.*)/ /bulkmailer/index.php?prefix=$1&controller=$2&action=$3 [L]
RewriteRule ^(.*)/(.*)/(.*) /bulkmailer/index.php?prefix=$1&controller=$2&action=$3 [L]
RewriteRule ^(.*)/(.*)/ /bulkmailer/index.php?controller=$1&action=$2 [L]
RewriteRule ^(.*)/(.*) /bulkmailer/index.php?controller=$1&action=$2 [L]
RewriteRule ^(.*)/ /bulkmailer/index.php?controller=$1 [L]
RewriteRule ^(.*) /bulkmailer/index.php?controller=$1 [L]
</IfModule>
我可以找到错误日志:
[Wed Mar 20 23:44:30.232417 2013] [core:error] [pid 5432:tid 1656] [client ::1:4653] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
[Wed Mar 20 23:44:34.601496 2013] [core:error] [pid 5432:tid 1660] [client ::1:4654] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
[Wed Mar 20 23:44:34.601496 2013] [core:error] [pid 5432:tid 1660] [client ::1:4654] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
让我知道我做错了什么或者你有什么提示或评论