Rewrite and 404 error pages have their own advantages. Some of their differences:
1, 404 error page advantage may be that there is no need to call the Rewrite module, Rewrite needs to call this module. So 404 error pages may be more resource efficient and make larger sites faster. Most of the static web pages I've written are currently using 404 errors.
2, using the 404 error page, can not be POST and GET. For example, 305.php?name1=auiou, if the 305.php page is generated with a 404 error, the value of this $_GET["name1"] will not be read. The other page's <form> uses the POST method to point the action to the 305.php generated by this 404 error, and cannot be received. For example, the information sent by <form method=post action=305.php> cannot be received by 305.php. .
If you want to generate a virtual path such as 305.php is POST and GET, use Rewrite to solve.
3, computer software and hardware application network (http://www.45it.com) found that the beginning of the 404 error page has some Linux space must be written to this sentence Rewrite needs to write a statement, I have not tested it.
4, 404 error page rules are relatively less strict, so there is a better range of adaptation. Rewrite is relatively stricter, for example, 305.html and 305-1.html need to write 2 rewrite rules; use 404 error page as long as a rule. This is another important reason why I use 404 errors instead of Rewrite.
We know that IIS can allow up to 10 client connections in Windows 2000 Professional or Windows XP Pr
But because of the many similarities between X86 servers and desktops, there are m
When using OpenFlashChart control to display charts in .NET, who would have thought that the display
Although Linux systems are much more secure than Windows, some simple security co
IIS problem under Windows server
Talking about 3 common problems of IIS 7.0 in Vista
Breaking distance limits Server remote management two skills
Implement IIS and Apache share port 80
Failure analysis of the three major components of the server
The common sense of purchasing the three types of servers
Application pool auto shutdown solution
Windows2003 Domain Rename Tool (1)
Virtual host security settings (2)
Security: Dealing with four levels of attacks on Linux servers
Win10 Build 10074 Getting Started Video: Improvements and Optimizations of System Details
Rundll32 program running for no reason is invalid
In the Win7 system completely formatted XP system disk
Teach you how to easily uninstall Win7 SP1 system in four steps
Win10 system always tips RunDLL PWMTR64V.DLL error how to do
Youku video black screen how to do Youku video black screen solution tutorial
Win8 system IE11 browser custom reading view style tutorial