我正在使用WAMP服務器,我需要使用htaccess更改「404未找到頁面」樣式。我該怎麼做?404頁未找到錯誤
「未找到
請求的URL /viewprofile.php在此服務器上找到」。這裏是我的htaccess文件
RewriteEngine on
RewriteRule (.*)-(.*).htm$ viewprofile.php?id=$1
RewriteRule (.*).htm$ viewprofile.php?id=$2
RewriteRule viewads(.*)\.htm$ viewads.php?id=$1
RewriteRule (.*)&(.*)\.htm$ homeads.php?id=$2
RewriteRule (.*).htm$ profile_city.php?id=$1
RewriteRule (.*).htm$ profile_cast.php?id=$1
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php
已經回答 http://stackoverflow.com/questions/11753912/how-to-style-404-page-in-wamp-server –