0
我爲我的url設置了這個mod_rewrite:但這不行。爲Mod設置mod_rewrite下載鏈接
網址:
index.php?module=Files&action=show&id=default&download=yes&id=$_REQUEST[id]
mod_rewrite的:
ErrorDocument 404 404.html
RewriteRule ^download/([^/\.]+)?-([^/\.]+)?-([^/\.]+)?/([^/\.]+)/?$ index.php?module=Files&action=show&id=default&download=yes&id=$1 [L,NS]
什麼是我的問題?
我看到404錯誤頁面。
給我們一些額外的數據,這是什麼意思不起作用?你嘗試過哪些網址?你有RewriteEngine和rewriteBase設置正確嗎? – Vyktor 2012-01-17 10:38:54
服務器上是否有錯誤500?其他重寫規則是否有效?我們需要額外的信息,以幫助您... – Connum 2012-01-17 10:40:34
我看到我的404錯誤頁面! – 2012-01-17 10:45:41