Home > Web Front-end > HTML Tutorial > Yii error page processing_html/css_WEB-ITnose

Yii error page processing_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:55:16
Original
1024 people have browsed it

[Error page processing]
Accessing a wrong controller

Accessing a wrong method

Some controllers and methods prohibit access

The above access will prompt the error message 404 403


The above error message is not convenient for external users to see.

1. Security risks

2. Poor user experience

The error message is defined in site/error.

Now we are going to customize the error page to display our error message


Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template