Yesterday, my wife asked me to load the IIS Web server, I thought about IIS is not a Web server, there are FTP, mail and other server functions, this time I realized that you may have the wrong Web server knowledge, the following focus on this issue
One: What is a Web server?
The Web server can parse the HTTP protocol. When a Web server receives an HTTP request, it returns an HTTP response, such as sending back an HTML page. To handle a request, the Web server can respond to a static page or picture, make a page jump, or delegate the production of a dynamic response to some other program such as a CGI script, JSP script, servlets,asp script, server-side JavaScript, or some other server-side technology. Regardless of their purpose, these server-side programs usually produce an HTML response to allow browsers to browse.
The Web server simply provides an environment in which to perform server-side programs and return responses, but not beyond the scope of the function, and it should be understood that simple Web servers can only be requested for static pages.
Second: Why can the Web site in IIS run an ASP program?
First of all, you must understand that IIS does not only provide web container services, but also ftp, mail and other services, so IIS cannot be equated with Web servers, so why the Web container in IIS can run VBScript scripts in ASP because, as a Web server design, They have to set aside the appropriate interface to handle the dynamic scripting language, but the application that handles the dynamic script is not within the scope of the Web server, the Web server in IIS integrates the application that handles ASP scripts, and if you want to run PHP in the Web container of IIS, At this point you must set up the ISAPI extension of the Web service to allow the IIS Web container to support the operation of the PHP script, and if you want to run the ASP.net program, install the framework installation package.
Three: The current mainstream web server
1:iis Web server, you can run the asp,asp.net,php description: asp.net,php must install the appropriate application to process the corresponding script, then the related configuration.
2:apache, the main running php,jsp Note: Running php,jsp all need to install the corresponding script running environment, and the corresponding configuration.
3:tomcat,resin,jboss:jsp running container with built-in Web server
After reading the above is not the Web server has been understanding, hoping to have a guide to the role of novice.
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.