2014-08-29 21 views
0

我有以下重写选项。在生产服务器上everythnig工作正常,但在本地通讯得到404。我认为,这个问题可能在这个重写条件。有人可以解释这是如何工作的?在当前项目中解释htaccess重写条件

RewriteCond ${rewrite:%{REQUEST_URI}|notfound} !=notfound 
RewriteRule (.*) ${rewrite:%{REQUEST_URI}} [R=301,L,QSA] 

然后......

RewriteCond %{REQUEST_URI} ^/([^\/|\.]+)/([^\/|\.]+/)*([^\/|\.]+)/?$ 
RewriteCond ${multishop:%1|notfound} !=notfound 
RewriteCond ${kategorie:%3|notfound} !=notfound 
RewriteRule (.*) index.php?${multishop:%1}&cat=${kategorie:%3} [L,QSA] 

可以在Apache的配置影响呢?

回答

1

此语法条件表明最有可能的RewriteMap在生产服务器的Apache配置中定义了