大家好,我可以使用一點幫助,我使用的是最新版本的Wampserver,我遇到了RewriteCond的問題......我在所有的文件/文件夾在正確的地方,但仍然說沒有找到頁面!URL RewriteRule不能正常工作,找不到頁面!
是我的代碼或Wampserver中的錯誤是自我?我有
RewriteEngine On
Options +Followsymlinks
RewriteBase/
RewriteRule imgs/(.*)\.php /violation.php?file=$1 [QSA,L]
RewriteRule page_files/(.*)\.php /violation.php?file=$1 [QSA,L]
RewriteRule lang/(.*)\.php /violation.php?file=$1 [QSA,L]
RewriteRule styles/(.*)\.php /violation.php?file=$1 [QSA,L]
RewriteRule profile/(.*)\.php /violation.php?file=$1 [QSA,L]
你可以提供的給你404的一個示例網址? – clmarquart 2011-05-04 18:42:16
哦對了對不起,我在工作大聲笑,我會複製過去。 http:// localhost/page_files /顯示此:找不到頁面 很抱歉,在此服務器上找不到請求的URL。 此內容可能已移動,或不再可用,我們對此造成的不便表示歉意。唯一我能想到的是別的東西是過度使用它?但如何只有一個.httaccess – Greg 2011-05-04 19:03:10