0
我已成功使用mod_rewrite創建站點顯示,因爲我希望...但是,我已將「模擬」文件夾遷移到根目錄並實施這些規則的網站,一些文件沒有被供應^ PDF文件的文件夾:.htaccess mod_rewrite阻止某些文件被提供
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule^- [L]
(舊目錄)
RewriteRule ^redesign_03012010/mock-up/([^/]+)/([^/]+)$ /redesign_03012010/mock-up/index.php?page=$1§ion=$2 [PT]
RewriteRule ^redesign_03012010/mock-up/([^/]+)$ /redesign_03012010/mock-up/index.php?page=$1 [PT,L]
(新目錄)
RewriteRule ^([^/]+)/([^/]+)$ /index.php?test=1&page=$1§ion=$2 [PT]
RewriteRule ^([^/]+)$ /index.php?test=1&page=$1 [PT,L]
...^pdfs(aka/pdfs /)不提供這些文件...有什麼建議嗎?