404 errors are errors that are prone to the WWW site access. The most common error hint: 404 Not FOUND. 404 error page settings on the site SEO has a great impact, and improper settings, such as direct to jump home, etc., will be the search engine down the right to pull hair. 404
Background:A date in the data Escalation task, appears: "HTTP request sent, awaiting response ... 404 Not Found "exception.The logs are as follows:Task id:xxxx start execution, execute command: edw/etl/xx.py 125_yyyymmdd_done.txt wireless_order_deal_5min--2015-02-27 08:56:09--Http://172.xx.xx.xx/wireless_order_deal_5min/125_20150226_done.txtConnecting to 172.xx.xx.xx: 80 ... Connected.HTTP request sent, awa
NGINX configuration 404 error page redirection
What is the 404 page?If a website error occurs, or the user attempts to access a page that does not exist, the server returns error code 404. the corresponding page is the 404 page. The default content of the
background:
One day in the data Escalation task, appears: "HTTP request sent, awaiting response ... 404 Not Found "exception.The log is as follows:Task id:xxxx start execution, execute command: edw/etl/xx.py 125_yyyymmdd_done.txt wireless_order_deal_5min--2015-02-27 08:56:09--Http://172.xx.xx.xx/wireless_order_deal_5min/125_20150226_done.txtConnecting to 172.xx.xx.xx:80 ... Connected.HTTP request sent, awa
The 404 page is now at midnight 01:39. Here we want to popularize 404 public welfare activities. When the website you are visiting has a problem or the user tries to access a non-existent page, the server (nginx) will return an error message with the Status Code 404, the corresponding page is the
Solve the Problem of LNMP environment 7.1 File not found on CentOS 404.
Set the LNMP runtime environment built on CentOS 7 and 7.1 to/srv/www/default in the root directory of the PHP website.
When you start php-fpm with systemctl, the browser reports a 404 error.
File not found.
However, using the root permission to ma
, the URL is considered valid and will be indexed and included in the index database, so that the two different URLs have exactly the same content: Customize the contents of the 404 error page, which causes the replication Web page problem. Light is the search engine down the right, heavy will k off the site.
And exactly I found here on the server Nginx
Installed in the local virtual machine, and installed the LNMP environment, the installation is normal, boot is normal, but found the configuration number Nginx, open the PHP page prompt file not found, but access to the HTML page does not affect . On the internet to find all kinds of information, said let theFastcgi_param script_filename /script$fastcg
404 Not Found origin, 404notfound Origin404 not found!
Sorry, no article is found !!What is 404 Not Found?
404 page is a necessary page for a website. It carries the important respons
: This article mainly introduces the Nginx custom 404 page (configured in Linux). If you are interested in the PHP Tutorial, refer to it. 404 error is an easy-to-see error during WWW website access.
The most common error message is 404 not found. The setting of the
Nginx/0.8.6 Configuration Error 404 page
Nginx/0.8.6
Why do we need to customize the 404 page?
When I encounter the above 404 error page, I think 99% (uninvestigated, estimated data) users will close the page, and users will be quietly lost. If there is a beautiful page at
What is the 404 page?If a problem occurs on the website or the user attempts to access a page that does not exist, the Server Returns Error Code 404. The corresponding page is the 404 page.The default content of the 404 page is related to the specific server. If the NGINX se
win7 System browse Web page pop-up error code 404 Not Found What to do?
1, when the computer reinstall Win7 System IE Information Service can not be feedback user input connection address or connection address error, IIS will appear to end users to send 404 error code prompts, need to confirm the link address and re-enter.
2, check
Error Log
Install nginx-1.0.5 and php-5.3.6 (php-fpm) Can't Wait To test info. php? Php phpinfo () ;?> ), However, only blank pages are returned and nothing is output. The following is an error log.
192.168.6.82--[01/Aug/2011: 13: 54: 20 + 0800] "GET/info. php HTTP/1.1 "404 5"-"" Mozilla/5.0 (X11; U; Linux x86_64; zh-CN; rv: 1.9.2.9) Gecko/20100827 Red Hat/3.6.9-2. el6 Firefox/3.6.9"
192.168.6.82--[01/Aug/
1. Create the secret 404.html page
2. Change nginx. conf and add fastcgi_intercept_errors on in the http definition area;
3. Change nginx. conf (or a separate website configuration file, for example, the site configuration file under nginx-> sites-enabled)
Add: error_page 404
nginx/0.8.6 Configuration 404 Error page
nginx/0.8.6
Why do you want to customize 404 pages
When I encountered the 404 error page above, I thought that 99% (without investigation, estimated data) would turn off the page and the user would be quietly lost. If you can hav
404 errors are errors that are prone to the WWW site access.
The most common error hint: 404 Not FOUND. 404 error page settings on the site SEO has a great impact, and improper settings, such as direct to jump home, etc., will be the search engine down the right to pull hair. 404
Today suddenly found a problem, the site set up a custom 404 page, showing is no problem, just return the status code is 200, rather than 404!!
To see my nginx configuration:
Nginx.conf
The code is as follows
server {
...
Error_page 404 =/
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.