SlideShare a Scribd company logo
1 of 26
Chapter 21 – Web Servers
                                (IIS and Apache)
              Outline
              21.1           Introduction
              21.2           HTTP Request Types
              21.3           System Architecture
              21.4           Client-Side Scripting versus Server-Side Scripting
              21.5           Accessing Web Servers
              21.6           Microsoft Internet Information Services (IIS)
                             21.6.1 Microsoft Internet Information Services
              (IIS) 5.0
                             21.6.2         Microsoft Internet Information Services
              (IIS) 6.0
              21.7      Apache Web Server
              21.8      Requesting Documents
                        21.8.1 XHTML
                        21.8.2 ASP.NET
                        21.8.3 Perl
                        21.8.4 PHP
                        21.8.5 Python
              21.9      Web Resources
© 2004 Prentice Hall, Inc. All rights reserved.
Objectives

      • In this lesson, you will learn:
              – To understand a Web server’s functionality.
              – To introduce Microsoft Internet Information Services (IIS)
                and Apache Web server.
              – To learn how to request documents from a Web server.




© 2004 Prentice Hall, Inc. All rights reserved.
21.1 Introduction

      • Web server
              – Responds to client requests by providing resources
      • URL (Uniform Resource Locator)
      • Web server and client communicate with
        platform-independent Hypertext Transfer Protocol
        (HTTP)




© 2004 Prentice Hall, Inc. All rights reserved.
21.1 Introduction

                              IIS 5.0             IIS 6.0  Apache Web server
      Company                 Microsoft           MicrosoftApache Software
                              Corporation         Corporation
                                                           Foundation
      Version                 5.0                 6.0      2.0.47
      Released                2/17/00             3/28/03  7/10/03
      Platforms               Windows 2000,       Windows Server 2003
                                                           Windows NT/2000/XP,
                              Windows XP                   Mac OS X, Linux and
                                                           other UNIX-based
                                                           platforms,
                                                           experimentally supports
                                                           Windows 95/98
      Brief         The most popular The newest release of Currently the most
      description   Web server for   IIS from Microsoft.   popular Web server.
                    Windows 2000.
      Price         Included with    Included with         Freeware.
                    Windows 2000     Windows Server 2003
                    and Windows
                    XP.
      Fig. 21.1 Web servers discussed in this chapter.


© 2004 Prentice Hall, Inc. All rights reserved.
21.2 HTTP Request Types

      • Request methods
              –    get
              –    post
              –    Retrieve and send client form data to Web server
              –    Post data to a server-side form handler




© 2004 Prentice Hall, Inc. All rights reserved.
21.3 System Architecture

      • Multi-tier application (n-tier application)
              – Information tier (data or bottom tier)
                     • Maintains data for the application
                     • Stores data in a relational database management system
                       (RDBMS)
              – Middle tier
                     • Implements business logic and presentation logic
                     • Control interactions between application clients and
                       application data
              – Client tier (top tier)
                     • Application’s user interface
                     • Users interact directly with the application through the client
                       tier


© 2004 Prentice Hall, Inc. All rights reserved.
21.4 Client-Side Scripting versus Server-
                         Side Scripting
      • Client-side scripts
              – Validate user input
                     • Reduce requests needed to be passed to server
                     • Access browser
                     • Enhance Web pages with DHTML, ActiveX controls, and
                       applets
      • Server-side scripts
              –    Executed on server
              –    Generate custom response for clients
              –    Wide range of programmatic capabilities
              –    Access to server-side software that extends server
                   functionality


© 2004 Prentice Hall, Inc. All rights reserved.
21.5 Accessing Web Servers

      • Request documents from Web servers
              – Host names
              – Local Web servers
                     • Access through machine name or localhost
              – Remote Web servers
                     • Access through machine name
              – Domain name or Internet Protocol (IP) address
                     • Domain name server (DNS)
                        – Computer that maintains a database of host names and
                          their corresponding IP address




© 2004 Prentice Hall, Inc. All rights reserved.
21.6 Microsoft Internet Information Services
                           (IIS)
      • An enterprise-level Web server that is included
        with Windows




© 2004 Prentice Hall, Inc. All rights reserved.
21.6.1 Microsoft Internet Information
                            Services (IIS) 5.0
      • FTP Site
              – Used for transferring large files across the Internet
      • HTTP Site
              – Used most frequently to request documents from Web
                servers
      • SMTP Virtual Server
              – Sends and receives electronic mail
      • Web Site Content Directory
              – Directory containing the documents that clients will view




© 2004 Prentice Hall, Inc. All rights reserved.
21.6.1 Microsoft Internet Information 
                            Services (IIS) 5.0




                Fig. 21.3      Internet Information Services window of Internet Services Manager.




© 2004 Prentice Hall, Inc. All rights reserved.
21.6.1 Microsoft Internet Information 
                            Services (IIS) 5.0




                          Fig. 21.4      Virtual Directory Creation Wizard welcome dialog.




© 2004 Prentice Hall, Inc. All rights reserved.
21.6.1 Microsoft Internet Information 
                            Services (IIS) 5.0




         Fig. 21.5      Virtual Directory Alias dialog of the Virtual Directory Creation Wizard.




© 2004 Prentice Hall, Inc. All rights reserved.
21.6.1 Microsoft Internet Information 
                              Services (IIS) 5.0




        Fig. 21.6      Web Site Content Directory dialog of the Virtual Directory Creation Wizard.



© 2004 Prentice Hall, Inc. All rights reserved.
21.6.1 Microsoft Internet Information 
                            Services (IIS) 5.0




           Fig. 21.7      Access Permissions dialog of the Virtual Directory Creation Wizard.




© 2004 Prentice Hall, Inc. All rights reserved.
21.7  Apache Web Server 

      •     Currently the most popular Web server
      •     Stability
      •     Efficiency
      •     Portability
      •     Open-source
      •     Small size




© 2004 Prentice Hall, Inc. All rights reserved.
21.7  Apache Web Server




     Fig. 21.13     Apache Web server starting. (Courtesy of The Apache Software Foundation.)




© 2004 Prentice Hall, Inc. All rights reserved.
21.8  Requesting Documents 

      • Requesting five different documents
              –    XHTML
              –    ASP.NET
              –    Perl
              –    PHP
              –    Python




© 2004 Prentice Hall, Inc. All rights reserved.
21.8.1 XHTML 

      • Request XHTML documents from IIS 6.0 or
        Apache
              – Launch Internet Explorer
              – Enter XHTML document’s location in Address field




© 2004 Prentice Hall, Inc. All rights reserved.
21.8.1 XHTML




                          Fig. 21.14     Requesting test.html from IIS 5.




                                  Fig. 21.15      Requesting test.html from IIS 6 or Apache.



© 2004 Prentice Hall, Inc. All rights reserved.
21.8.2 ASP.NET 

      • Request ASP.NET document from IIS 5 or 6
              – Launch Internet Explorer
              – Enter ASP.NET document’s location in Address field
      • Apache support ASP Classic but doesn’t support
        ASP.NET




© 2004 Prentice Hall, Inc. All rights reserved.
21.8.2 ASP.NET




                               Fig. 21.16     Requesting test.aspx from IIS 5.




                               Fig. 21.17     Requesting test.aspx from IIS 6.


© 2004 Prentice Hall, Inc. All rights reserved.
21.8.4 PHP 

      • Request PHP documents from IIS 5 and 6
              – Launch Internet Explorer
              – Enter PHP document’s location in the Address field
      • Request PHP documents from Apache
              – Save PHP documents in the htdocs directory
              – Launch Internet Explorer
              – Enter PHP document’s location in Address field




© 2004 Prentice Hall, Inc. All rights reserved.
21.8.4 PHP




                               Fig. 21.21     Requesting test.php from IIS 5.




                               Fig. 21.22     Requesting test.php from IIS 6.




© 2004 Prentice Hall, Inc. All rights reserved.
21.8.4 PHP




                                  Fig. 21.23      Requesting test.php from Apache.




© 2004 Prentice Hall, Inc. All rights reserved.
21.9  Web Resources 
      •     www.microsoft.com/msdownload/ntoptionpack/askwiz.asp
      •     www.w3.org/Protocols
      •     www.apache.org
      •     httpd.apache.org
      •     httpd.apache.org/docs-2.0
      •     www.apacheweek.com
      •     linuxtoday.com/stories/18780.html
      •     www.iisanswers.com
      •     www.iisadministrator.com




© 2004 Prentice Hall, Inc. All rights reserved.

More Related Content

What's hot

IBM WebSphere Application Server version to version comparison
IBM WebSphere Application Server version to version comparisonIBM WebSphere Application Server version to version comparison
IBM WebSphere Application Server version to version comparisonejlp12
 
Microsoft+PHP: Make Web Not War
Microsoft+PHP: Make Web Not WarMicrosoft+PHP: Make Web Not War
Microsoft+PHP: Make Web Not WarDave Bost
 
Load Balancing und Beschleunigung mit Citrix Net Scaler
Load Balancing und Beschleunigung mit Citrix Net ScalerLoad Balancing und Beschleunigung mit Citrix Net Scaler
Load Balancing und Beschleunigung mit Citrix Net ScalerDigicomp Academy AG
 
IBM websphere application server types of profiles
IBM websphere application server types of profilesIBM websphere application server types of profiles
IBM websphere application server types of profilesKuldeep Saxena
 
WebSphere Application Server Family (Editions Comparison)
WebSphere Application Server Family (Editions Comparison)WebSphere Application Server Family (Editions Comparison)
WebSphere Application Server Family (Editions Comparison)ejlp12
 
Websphere Portal
Websphere PortalWebsphere Portal
Websphere Portaldominion
 
WebSphere 6.1 Admin Course 1
WebSphere 6.1 Admin Course 1WebSphere 6.1 Admin Course 1
WebSphere 6.1 Admin Course 1odedns
 
01. Portal Business Overview
01. Portal Business Overview01. Portal Business Overview
01. Portal Business OverviewNick Davis
 
Getting to know alfresco 4
Getting to know alfresco 4Getting to know alfresco 4
Getting to know alfresco 4Paul Hampton
 
What's new in Portal and WCM 8.5
What's new in Portal and WCM 8.5What's new in Portal and WCM 8.5
What's new in Portal and WCM 8.5Vinayak Tavargeri
 
Websphere interview Questions
Websphere interview QuestionsWebsphere interview Questions
Websphere interview Questionsgummadi1
 
Web Center Services and Framework
Web Center Services and  FrameworkWeb Center Services and  Framework
Web Center Services and FrameworkJaime Cid
 
Social Connections 12 - IBM Connections Adminblast
Social Connections 12 - IBM Connections AdminblastSocial Connections 12 - IBM Connections Adminblast
Social Connections 12 - IBM Connections AdminblastNico Meisenzahl
 
Installing web sphere application server v7 on red hat enterprise linux v6.3
Installing web sphere application server v7 on red hat enterprise linux v6.3Installing web sphere application server v7 on red hat enterprise linux v6.3
Installing web sphere application server v7 on red hat enterprise linux v6.3Dave Hay
 
AAI-2075 Evolving an IBM WebSphere Topology to Manage a Changing Workloa
AAI-2075 Evolving an IBM WebSphere Topology to Manage a Changing WorkloaAAI-2075 Evolving an IBM WebSphere Topology to Manage a Changing Workloa
AAI-2075 Evolving an IBM WebSphere Topology to Manage a Changing WorkloaWASdev Community
 
Windows Server 2012 R2 Jump Start - Intro
Windows Server 2012 R2 Jump Start - IntroWindows Server 2012 R2 Jump Start - Intro
Windows Server 2012 R2 Jump Start - IntroPaulo Freitas
 
WebSphere Portal Business Overview
WebSphere Portal Business OverviewWebSphere Portal Business Overview
WebSphere Portal Business OverviewJoel Demay
 

What's hot (20)

IBM WebSphere Application Server version to version comparison
IBM WebSphere Application Server version to version comparisonIBM WebSphere Application Server version to version comparison
IBM WebSphere Application Server version to version comparison
 
Microsoft+PHP: Make Web Not War
Microsoft+PHP: Make Web Not WarMicrosoft+PHP: Make Web Not War
Microsoft+PHP: Make Web Not War
 
Load Balancing und Beschleunigung mit Citrix Net Scaler
Load Balancing und Beschleunigung mit Citrix Net ScalerLoad Balancing und Beschleunigung mit Citrix Net Scaler
Load Balancing und Beschleunigung mit Citrix Net Scaler
 
IBM websphere application server types of profiles
IBM websphere application server types of profilesIBM websphere application server types of profiles
IBM websphere application server types of profiles
 
WebSphere Application Server Family (Editions Comparison)
WebSphere Application Server Family (Editions Comparison)WebSphere Application Server Family (Editions Comparison)
WebSphere Application Server Family (Editions Comparison)
 
Websphere Portal
Websphere PortalWebsphere Portal
Websphere Portal
 
WebSphere 6.1 Admin Course 1
WebSphere 6.1 Admin Course 1WebSphere 6.1 Admin Course 1
WebSphere 6.1 Admin Course 1
 
Ahmed FR
Ahmed FRAhmed FR
Ahmed FR
 
IBM WebSphere Portal
IBM WebSphere PortalIBM WebSphere Portal
IBM WebSphere Portal
 
01. Portal Business Overview
01. Portal Business Overview01. Portal Business Overview
01. Portal Business Overview
 
Getting to know alfresco 4
Getting to know alfresco 4Getting to know alfresco 4
Getting to know alfresco 4
 
(28.04) MOSSCA Invita - Bienvenidos a la casa de Sharepoint - Visión técnica
(28.04) MOSSCA Invita - Bienvenidos a la casa de Sharepoint - Visión técnica(28.04) MOSSCA Invita - Bienvenidos a la casa de Sharepoint - Visión técnica
(28.04) MOSSCA Invita - Bienvenidos a la casa de Sharepoint - Visión técnica
 
What's new in Portal and WCM 8.5
What's new in Portal and WCM 8.5What's new in Portal and WCM 8.5
What's new in Portal and WCM 8.5
 
Websphere interview Questions
Websphere interview QuestionsWebsphere interview Questions
Websphere interview Questions
 
Web Center Services and Framework
Web Center Services and  FrameworkWeb Center Services and  Framework
Web Center Services and Framework
 
Social Connections 12 - IBM Connections Adminblast
Social Connections 12 - IBM Connections AdminblastSocial Connections 12 - IBM Connections Adminblast
Social Connections 12 - IBM Connections Adminblast
 
Installing web sphere application server v7 on red hat enterprise linux v6.3
Installing web sphere application server v7 on red hat enterprise linux v6.3Installing web sphere application server v7 on red hat enterprise linux v6.3
Installing web sphere application server v7 on red hat enterprise linux v6.3
 
AAI-2075 Evolving an IBM WebSphere Topology to Manage a Changing Workloa
AAI-2075 Evolving an IBM WebSphere Topology to Manage a Changing WorkloaAAI-2075 Evolving an IBM WebSphere Topology to Manage a Changing Workloa
AAI-2075 Evolving an IBM WebSphere Topology to Manage a Changing Workloa
 
Windows Server 2012 R2 Jump Start - Intro
Windows Server 2012 R2 Jump Start - IntroWindows Server 2012 R2 Jump Start - Intro
Windows Server 2012 R2 Jump Start - Intro
 
WebSphere Portal Business Overview
WebSphere Portal Business OverviewWebSphere Portal Business Overview
WebSphere Portal Business Overview
 

Similar to Test111

05.m3 cms list-ofwebserver
05.m3 cms list-ofwebserver05.m3 cms list-ofwebserver
05.m3 cms list-ofwebservertarensi
 
Php apache vs iis By Hafedh Yahmadi
Php apache vs iis  By Hafedh YahmadiPhp apache vs iis  By Hafedh Yahmadi
Php apache vs iis By Hafedh YahmadiTechdaysTunisia
 
Web technologies lesson 1
Web technologies   lesson 1Web technologies   lesson 1
Web technologies lesson 1nhepner
 
What’s new in the 4.5
What’s new in the 4.5What’s new in the 4.5
What’s new in the 4.5Yuriy Seniuk
 
WebSphere Portal Technical Overview
WebSphere Portal Technical OverviewWebSphere Portal Technical Overview
WebSphere Portal Technical OverviewVincent Perrin
 
Windows Server 2008 R2 Dev Session 03
Windows Server 2008 R2 Dev Session 03Windows Server 2008 R2 Dev Session 03
Windows Server 2008 R2 Dev Session 03Clint Edmonson
 
Anvita Gita Supersite Case Study Nov2000
Anvita   Gita Supersite Case Study Nov2000Anvita   Gita Supersite Case Study Nov2000
Anvita Gita Supersite Case Study Nov2000guest6e7a1b1
 
Developing Php Applications Using Microsoft Software And Services
Developing Php Applications Using Microsoft Software And ServicesDeveloping Php Applications Using Microsoft Software And Services
Developing Php Applications Using Microsoft Software And Servicesrsnarayanan
 
Introduction to cPSS
Introduction to cPSSIntroduction to cPSS
Introduction to cPSSwebhostingguy
 
Evolution of Applications & Web
Evolution of Applications & WebEvolution of Applications & Web
Evolution of Applications & WebHimanshu Jindal
 
Introduction to ASP.NET
Introduction to ASP.NETIntroduction to ASP.NET
Introduction to ASP.NETSharePointKE
 
Local Storage for Web Applications
Local Storage for Web ApplicationsLocal Storage for Web Applications
Local Storage for Web ApplicationsMarkku Laine
 
Scalable Web Architectures and Infrastructure
Scalable Web Architectures and InfrastructureScalable Web Architectures and Infrastructure
Scalable Web Architectures and Infrastructuregeorge.james
 
Web servers – features, installation and configuration
Web servers – features, installation and configurationWeb servers – features, installation and configuration
Web servers – features, installation and configurationwebhostingguy
 

Similar to Test111 (20)

Download It
Download ItDownload It
Download It
 
web_server_browser.ppt
web_server_browser.pptweb_server_browser.ppt
web_server_browser.ppt
 
Web servers
Web serversWeb servers
Web servers
 
05.m3 cms list-ofwebserver
05.m3 cms list-ofwebserver05.m3 cms list-ofwebserver
05.m3 cms list-ofwebserver
 
Php apache vs iis By Hafedh Yahmadi
Php apache vs iis  By Hafedh YahmadiPhp apache vs iis  By Hafedh Yahmadi
Php apache vs iis By Hafedh Yahmadi
 
Web technologies lesson 1
Web technologies   lesson 1Web technologies   lesson 1
Web technologies lesson 1
 
Philly Tech Fest Iis
Philly Tech Fest IisPhilly Tech Fest Iis
Philly Tech Fest Iis
 
What’s new in the 4.5
What’s new in the 4.5What’s new in the 4.5
What’s new in the 4.5
 
WebSphere Portal Technical Overview
WebSphere Portal Technical OverviewWebSphere Portal Technical Overview
WebSphere Portal Technical Overview
 
Windows Server 2008 R2 Dev Session 03
Windows Server 2008 R2 Dev Session 03Windows Server 2008 R2 Dev Session 03
Windows Server 2008 R2 Dev Session 03
 
Anvita Gita Supersite Case Study Nov2000
Anvita   Gita Supersite Case Study Nov2000Anvita   Gita Supersite Case Study Nov2000
Anvita Gita Supersite Case Study Nov2000
 
Web Hosting
Web HostingWeb Hosting
Web Hosting
 
Developing Php Applications Using Microsoft Software And Services
Developing Php Applications Using Microsoft Software And ServicesDeveloping Php Applications Using Microsoft Software And Services
Developing Php Applications Using Microsoft Software And Services
 
Introduction to cPSS
Introduction to cPSSIntroduction to cPSS
Introduction to cPSS
 
Evolution of Applications & Web
Evolution of Applications & WebEvolution of Applications & Web
Evolution of Applications & Web
 
Introduction to ASP.NET
Introduction to ASP.NETIntroduction to ASP.NET
Introduction to ASP.NET
 
Local Storage for Web Applications
Local Storage for Web ApplicationsLocal Storage for Web Applications
Local Storage for Web Applications
 
Asp.net
Asp.netAsp.net
Asp.net
 
Scalable Web Architectures and Infrastructure
Scalable Web Architectures and InfrastructureScalable Web Architectures and Infrastructure
Scalable Web Architectures and Infrastructure
 
Web servers – features, installation and configuration
Web servers – features, installation and configurationWeb servers – features, installation and configuration
Web servers – features, installation and configuration
 

Recently uploaded

422368378-Laos-Architecture.pdfmmmmkkkkmmm
422368378-Laos-Architecture.pdfmmmmkkkkmmm422368378-Laos-Architecture.pdfmmmmkkkkmmm
422368378-Laos-Architecture.pdfmmmmkkkkmmmKarenNares2
 
一比一定(购)卡尔顿大学毕业证(CU毕业证)成绩单学位证
一比一定(购)卡尔顿大学毕业证(CU毕业证)成绩单学位证一比一定(购)卡尔顿大学毕业证(CU毕业证)成绩单学位证
一比一定(购)卡尔顿大学毕业证(CU毕业证)成绩单学位证wpkuukw
 
Abortion pills in Riyadh +966572737505 <> buy cytotec <> unwanted kit Saudi A...
Abortion pills in Riyadh +966572737505 <> buy cytotec <> unwanted kit Saudi A...Abortion pills in Riyadh +966572737505 <> buy cytotec <> unwanted kit Saudi A...
Abortion pills in Riyadh +966572737505 <> buy cytotec <> unwanted kit Saudi A...samsungultra782445
 
NO1 Top Pakistani Amil Baba Real Amil baba In Pakistan Najoomi Baba in Pakist...
NO1 Top Pakistani Amil Baba Real Amil baba In Pakistan Najoomi Baba in Pakist...NO1 Top Pakistani Amil Baba Real Amil baba In Pakistan Najoomi Baba in Pakist...
NO1 Top Pakistani Amil Baba Real Amil baba In Pakistan Najoomi Baba in Pakist...Amil baba
 
Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...
Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...
Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...samsungultra782445
 
Furniture & Joinery Details_Designs.pptx
Furniture & Joinery Details_Designs.pptxFurniture & Joinery Details_Designs.pptx
Furniture & Joinery Details_Designs.pptxNikhil Raut
 
怎样办理伦敦国王学院毕业证(KCL毕业证书)成绩单留信认证
怎样办理伦敦国王学院毕业证(KCL毕业证书)成绩单留信认证怎样办理伦敦国王学院毕业证(KCL毕业证书)成绩单留信认证
怎样办理伦敦国王学院毕业证(KCL毕业证书)成绩单留信认证eeanqy
 
一比一原版澳洲堪培拉大学毕业证(UC毕业证书)毕业证成绩单留信认证
一比一原版澳洲堪培拉大学毕业证(UC毕业证书)毕业证成绩单留信认证一比一原版澳洲堪培拉大学毕业证(UC毕业证书)毕业证成绩单留信认证
一比一原版澳洲堪培拉大学毕业证(UC毕业证书)毕业证成绩单留信认证khuurq8kz
 
一比一定(购)西悉尼大学毕业证(WSU毕业证)成绩单学位证
一比一定(购)西悉尼大学毕业证(WSU毕业证)成绩单学位证一比一定(购)西悉尼大学毕业证(WSU毕业证)成绩单学位证
一比一定(购)西悉尼大学毕业证(WSU毕业证)成绩单学位证eqaqen
 
Gamestore case study UI UX by Amgad Ibrahim
Gamestore case study UI UX by Amgad IbrahimGamestore case study UI UX by Amgad Ibrahim
Gamestore case study UI UX by Amgad Ibrahimamgadibrahim92
 
Jual Obat Aborsi Semarang ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Semarang ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Semarang ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Semarang ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Academic Portfolio (2017-2021) .pdf
Academic Portfolio (2017-2021)      .pdfAcademic Portfolio (2017-2021)      .pdf
Academic Portfolio (2017-2021) .pdfM. A. Architects
 
In Saudi Arabia Jeddah (+918761049707)) Buy Abortion Pills For Sale in Riyadh
In Saudi Arabia Jeddah (+918761049707)) Buy Abortion Pills For Sale in RiyadhIn Saudi Arabia Jeddah (+918761049707)) Buy Abortion Pills For Sale in Riyadh
In Saudi Arabia Jeddah (+918761049707)) Buy Abortion Pills For Sale in Riyadhahmedjiabur940
 
Edward Boginsky's Trailblazing Contributions to Printing
Edward Boginsky's Trailblazing Contributions to PrintingEdward Boginsky's Trailblazing Contributions to Printing
Edward Boginsky's Trailblazing Contributions to PrintingEdward Boginsky
 
Abortion pills in Kuwait 🚚+966505195917 but home delivery available in Kuwait...
Abortion pills in Kuwait 🚚+966505195917 but home delivery available in Kuwait...Abortion pills in Kuwait 🚚+966505195917 but home delivery available in Kuwait...
Abortion pills in Kuwait 🚚+966505195917 but home delivery available in Kuwait...drmarathore
 
Resume all my skills and educations and achievement
Resume all my skills and educations and  achievement Resume all my skills and educations and  achievement
Resume all my skills and educations and achievement 210303105569
 
Morgenbooster: Storytelling in Identity Design
Morgenbooster: Storytelling in Identity DesignMorgenbooster: Storytelling in Identity Design
Morgenbooster: Storytelling in Identity Design1508 A/S
 
Branding in the Psychedelic Landscape Report.pdf
Branding in the Psychedelic Landscape Report.pdfBranding in the Psychedelic Landscape Report.pdf
Branding in the Psychedelic Landscape Report.pdfAlexandra Plesner
 
Spring Summer 26 Colors Trend Book Peclers Paris
Spring Summer 26 Colors Trend Book Peclers ParisSpring Summer 26 Colors Trend Book Peclers Paris
Spring Summer 26 Colors Trend Book Peclers ParisPeclers Paris
 
Essential UI/UX Design Principles: A Comprehensive Guide
Essential UI/UX Design Principles: A Comprehensive GuideEssential UI/UX Design Principles: A Comprehensive Guide
Essential UI/UX Design Principles: A Comprehensive GuideDesign Studio UI UX
 

Recently uploaded (20)

422368378-Laos-Architecture.pdfmmmmkkkkmmm
422368378-Laos-Architecture.pdfmmmmkkkkmmm422368378-Laos-Architecture.pdfmmmmkkkkmmm
422368378-Laos-Architecture.pdfmmmmkkkkmmm
 
一比一定(购)卡尔顿大学毕业证(CU毕业证)成绩单学位证
一比一定(购)卡尔顿大学毕业证(CU毕业证)成绩单学位证一比一定(购)卡尔顿大学毕业证(CU毕业证)成绩单学位证
一比一定(购)卡尔顿大学毕业证(CU毕业证)成绩单学位证
 
Abortion pills in Riyadh +966572737505 <> buy cytotec <> unwanted kit Saudi A...
Abortion pills in Riyadh +966572737505 <> buy cytotec <> unwanted kit Saudi A...Abortion pills in Riyadh +966572737505 <> buy cytotec <> unwanted kit Saudi A...
Abortion pills in Riyadh +966572737505 <> buy cytotec <> unwanted kit Saudi A...
 
NO1 Top Pakistani Amil Baba Real Amil baba In Pakistan Najoomi Baba in Pakist...
NO1 Top Pakistani Amil Baba Real Amil baba In Pakistan Najoomi Baba in Pakist...NO1 Top Pakistani Amil Baba Real Amil baba In Pakistan Najoomi Baba in Pakist...
NO1 Top Pakistani Amil Baba Real Amil baba In Pakistan Najoomi Baba in Pakist...
 
Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...
Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...
Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...
 
Furniture & Joinery Details_Designs.pptx
Furniture & Joinery Details_Designs.pptxFurniture & Joinery Details_Designs.pptx
Furniture & Joinery Details_Designs.pptx
 
怎样办理伦敦国王学院毕业证(KCL毕业证书)成绩单留信认证
怎样办理伦敦国王学院毕业证(KCL毕业证书)成绩单留信认证怎样办理伦敦国王学院毕业证(KCL毕业证书)成绩单留信认证
怎样办理伦敦国王学院毕业证(KCL毕业证书)成绩单留信认证
 
一比一原版澳洲堪培拉大学毕业证(UC毕业证书)毕业证成绩单留信认证
一比一原版澳洲堪培拉大学毕业证(UC毕业证书)毕业证成绩单留信认证一比一原版澳洲堪培拉大学毕业证(UC毕业证书)毕业证成绩单留信认证
一比一原版澳洲堪培拉大学毕业证(UC毕业证书)毕业证成绩单留信认证
 
一比一定(购)西悉尼大学毕业证(WSU毕业证)成绩单学位证
一比一定(购)西悉尼大学毕业证(WSU毕业证)成绩单学位证一比一定(购)西悉尼大学毕业证(WSU毕业证)成绩单学位证
一比一定(购)西悉尼大学毕业证(WSU毕业证)成绩单学位证
 
Gamestore case study UI UX by Amgad Ibrahim
Gamestore case study UI UX by Amgad IbrahimGamestore case study UI UX by Amgad Ibrahim
Gamestore case study UI UX by Amgad Ibrahim
 
Jual Obat Aborsi Semarang ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Semarang ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Semarang ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Semarang ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Academic Portfolio (2017-2021) .pdf
Academic Portfolio (2017-2021)      .pdfAcademic Portfolio (2017-2021)      .pdf
Academic Portfolio (2017-2021) .pdf
 
In Saudi Arabia Jeddah (+918761049707)) Buy Abortion Pills For Sale in Riyadh
In Saudi Arabia Jeddah (+918761049707)) Buy Abortion Pills For Sale in RiyadhIn Saudi Arabia Jeddah (+918761049707)) Buy Abortion Pills For Sale in Riyadh
In Saudi Arabia Jeddah (+918761049707)) Buy Abortion Pills For Sale in Riyadh
 
Edward Boginsky's Trailblazing Contributions to Printing
Edward Boginsky's Trailblazing Contributions to PrintingEdward Boginsky's Trailblazing Contributions to Printing
Edward Boginsky's Trailblazing Contributions to Printing
 
Abortion pills in Kuwait 🚚+966505195917 but home delivery available in Kuwait...
Abortion pills in Kuwait 🚚+966505195917 but home delivery available in Kuwait...Abortion pills in Kuwait 🚚+966505195917 but home delivery available in Kuwait...
Abortion pills in Kuwait 🚚+966505195917 but home delivery available in Kuwait...
 
Resume all my skills and educations and achievement
Resume all my skills and educations and  achievement Resume all my skills and educations and  achievement
Resume all my skills and educations and achievement
 
Morgenbooster: Storytelling in Identity Design
Morgenbooster: Storytelling in Identity DesignMorgenbooster: Storytelling in Identity Design
Morgenbooster: Storytelling in Identity Design
 
Branding in the Psychedelic Landscape Report.pdf
Branding in the Psychedelic Landscape Report.pdfBranding in the Psychedelic Landscape Report.pdf
Branding in the Psychedelic Landscape Report.pdf
 
Spring Summer 26 Colors Trend Book Peclers Paris
Spring Summer 26 Colors Trend Book Peclers ParisSpring Summer 26 Colors Trend Book Peclers Paris
Spring Summer 26 Colors Trend Book Peclers Paris
 
Essential UI/UX Design Principles: A Comprehensive Guide
Essential UI/UX Design Principles: A Comprehensive GuideEssential UI/UX Design Principles: A Comprehensive Guide
Essential UI/UX Design Principles: A Comprehensive Guide
 

Test111

  • 1. Chapter 21 – Web Servers (IIS and Apache) Outline 21.1 Introduction 21.2 HTTP Request Types 21.3 System Architecture 21.4 Client-Side Scripting versus Server-Side Scripting 21.5 Accessing Web Servers 21.6 Microsoft Internet Information Services (IIS) 21.6.1 Microsoft Internet Information Services (IIS) 5.0 21.6.2 Microsoft Internet Information Services (IIS) 6.0 21.7 Apache Web Server 21.8 Requesting Documents 21.8.1 XHTML 21.8.2 ASP.NET 21.8.3 Perl 21.8.4 PHP 21.8.5 Python 21.9 Web Resources © 2004 Prentice Hall, Inc. All rights reserved.
  • 2. Objectives • In this lesson, you will learn: – To understand a Web server’s functionality. – To introduce Microsoft Internet Information Services (IIS) and Apache Web server. – To learn how to request documents from a Web server. © 2004 Prentice Hall, Inc. All rights reserved.
  • 3. 21.1 Introduction • Web server – Responds to client requests by providing resources • URL (Uniform Resource Locator) • Web server and client communicate with platform-independent Hypertext Transfer Protocol (HTTP) © 2004 Prentice Hall, Inc. All rights reserved.
  • 4. 21.1 Introduction IIS 5.0 IIS 6.0 Apache Web server Company Microsoft MicrosoftApache Software Corporation Corporation Foundation Version 5.0 6.0 2.0.47 Released 2/17/00 3/28/03 7/10/03 Platforms Windows 2000, Windows Server 2003 Windows NT/2000/XP, Windows XP Mac OS X, Linux and other UNIX-based platforms, experimentally supports Windows 95/98 Brief The most popular The newest release of Currently the most description Web server for IIS from Microsoft. popular Web server. Windows 2000. Price Included with Included with Freeware. Windows 2000 Windows Server 2003 and Windows XP. Fig. 21.1 Web servers discussed in this chapter. © 2004 Prentice Hall, Inc. All rights reserved.
  • 5. 21.2 HTTP Request Types • Request methods – get – post – Retrieve and send client form data to Web server – Post data to a server-side form handler © 2004 Prentice Hall, Inc. All rights reserved.
  • 6. 21.3 System Architecture • Multi-tier application (n-tier application) – Information tier (data or bottom tier) • Maintains data for the application • Stores data in a relational database management system (RDBMS) – Middle tier • Implements business logic and presentation logic • Control interactions between application clients and application data – Client tier (top tier) • Application’s user interface • Users interact directly with the application through the client tier © 2004 Prentice Hall, Inc. All rights reserved.
  • 7. 21.4 Client-Side Scripting versus Server- Side Scripting • Client-side scripts – Validate user input • Reduce requests needed to be passed to server • Access browser • Enhance Web pages with DHTML, ActiveX controls, and applets • Server-side scripts – Executed on server – Generate custom response for clients – Wide range of programmatic capabilities – Access to server-side software that extends server functionality © 2004 Prentice Hall, Inc. All rights reserved.
  • 8. 21.5 Accessing Web Servers • Request documents from Web servers – Host names – Local Web servers • Access through machine name or localhost – Remote Web servers • Access through machine name – Domain name or Internet Protocol (IP) address • Domain name server (DNS) – Computer that maintains a database of host names and their corresponding IP address © 2004 Prentice Hall, Inc. All rights reserved.
  • 9. 21.6 Microsoft Internet Information Services (IIS) • An enterprise-level Web server that is included with Windows © 2004 Prentice Hall, Inc. All rights reserved.
  • 10. 21.6.1 Microsoft Internet Information Services (IIS) 5.0 • FTP Site – Used for transferring large files across the Internet • HTTP Site – Used most frequently to request documents from Web servers • SMTP Virtual Server – Sends and receives electronic mail • Web Site Content Directory – Directory containing the documents that clients will view © 2004 Prentice Hall, Inc. All rights reserved.
  • 11. 21.6.1 Microsoft Internet Information  Services (IIS) 5.0 Fig. 21.3 Internet Information Services window of Internet Services Manager. © 2004 Prentice Hall, Inc. All rights reserved.
  • 12. 21.6.1 Microsoft Internet Information  Services (IIS) 5.0 Fig. 21.4 Virtual Directory Creation Wizard welcome dialog. © 2004 Prentice Hall, Inc. All rights reserved.
  • 13. 21.6.1 Microsoft Internet Information  Services (IIS) 5.0 Fig. 21.5 Virtual Directory Alias dialog of the Virtual Directory Creation Wizard. © 2004 Prentice Hall, Inc. All rights reserved.
  • 14. 21.6.1 Microsoft Internet Information  Services (IIS) 5.0 Fig. 21.6 Web Site Content Directory dialog of the Virtual Directory Creation Wizard. © 2004 Prentice Hall, Inc. All rights reserved.
  • 15. 21.6.1 Microsoft Internet Information  Services (IIS) 5.0 Fig. 21.7 Access Permissions dialog of the Virtual Directory Creation Wizard. © 2004 Prentice Hall, Inc. All rights reserved.
  • 16. 21.7  Apache Web Server  • Currently the most popular Web server • Stability • Efficiency • Portability • Open-source • Small size © 2004 Prentice Hall, Inc. All rights reserved.
  • 17. 21.7  Apache Web Server Fig. 21.13 Apache Web server starting. (Courtesy of The Apache Software Foundation.) © 2004 Prentice Hall, Inc. All rights reserved.
  • 18. 21.8  Requesting Documents  • Requesting five different documents – XHTML – ASP.NET – Perl – PHP – Python © 2004 Prentice Hall, Inc. All rights reserved.
  • 19. 21.8.1 XHTML  • Request XHTML documents from IIS 6.0 or Apache – Launch Internet Explorer – Enter XHTML document’s location in Address field © 2004 Prentice Hall, Inc. All rights reserved.
  • 20. 21.8.1 XHTML Fig. 21.14 Requesting test.html from IIS 5. Fig. 21.15 Requesting test.html from IIS 6 or Apache. © 2004 Prentice Hall, Inc. All rights reserved.
  • 21. 21.8.2 ASP.NET  • Request ASP.NET document from IIS 5 or 6 – Launch Internet Explorer – Enter ASP.NET document’s location in Address field • Apache support ASP Classic but doesn’t support ASP.NET © 2004 Prentice Hall, Inc. All rights reserved.
  • 22. 21.8.2 ASP.NET Fig. 21.16 Requesting test.aspx from IIS 5. Fig. 21.17 Requesting test.aspx from IIS 6. © 2004 Prentice Hall, Inc. All rights reserved.
  • 23. 21.8.4 PHP  • Request PHP documents from IIS 5 and 6 – Launch Internet Explorer – Enter PHP document’s location in the Address field • Request PHP documents from Apache – Save PHP documents in the htdocs directory – Launch Internet Explorer – Enter PHP document’s location in Address field © 2004 Prentice Hall, Inc. All rights reserved.
  • 24. 21.8.4 PHP Fig. 21.21 Requesting test.php from IIS 5. Fig. 21.22 Requesting test.php from IIS 6. © 2004 Prentice Hall, Inc. All rights reserved.
  • 25. 21.8.4 PHP Fig. 21.23 Requesting test.php from Apache. © 2004 Prentice Hall, Inc. All rights reserved.
  • 26. 21.9  Web Resources  • www.microsoft.com/msdownload/ntoptionpack/askwiz.asp • www.w3.org/Protocols • www.apache.org • httpd.apache.org • httpd.apache.org/docs-2.0 • www.apacheweek.com • linuxtoday.com/stories/18780.html • www.iisanswers.com • www.iisadministrator.com © 2004 Prentice Hall, Inc. All rights reserved.