txfzq
管理员
积分 33428
发帖 13147
注册 2005-5-26
状态 离线
|
#1 free.fr 控制404页的办法
You can customize any error pages, such as 404, (not found) or others, your visitors might encounter. They can be replaced with personalized text, or a redirection to another URL, either local or external. This is done by using an ErrorDocument command. Here are some examples :
ErrorDocument 404 /my404message.html
ErrorDocument 404 http://mylogin.free.fr
ErrorDocument 403 /accessrefused.html
This command must be in a .htaccess file. The file must be in the directory to which the error messages need to be redirected. This is usually the root directory of the website, although not necessarily.
官方说明:http://www.free.fr/assistance/en ... personnalisees.html
|
|
|