我有一個問題如何配置這一個,測試網站工作正常,「http://test.domain/beta/」但當我們配置域「 HTTP:// prod_domain /」,指着放在同一目錄下,它會返回一個HTTP 500錯誤,我檢查了Apache的錯誤日誌和得到這個:apache mod_rewrite:達到內部重定向的最大數量
mod_rewrite: maximum number of internal redirects reached. Assuming configuration error. Use 'RewriteOptions MaxRedirects' to increase the limit if neccessary.
這裏是我的.htaccess這樣的:
RewriteEngine On
RewriteCond $1 !^(index\.php|images|css|js|robots\.txt|favicon\.ico)
RewriteRule ^(.*)$ index.php?/$1 [L]
是否可以在'rewritecond'中指定'$ 1'? – zerkms