2014-08-29 49 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配置中定義了