 2003 Prentice Hall, Inc. All rights reserved. Chapter 21 – Web Servers (IIS and Apache) Outline 21.1 Introduction 21.2 HTTP Request Types 21.3 System.

Slides:



Advertisements
Similar presentations
DT228/3 Web Development WWW and Client server model.
Advertisements

Session 13 Active Server Pages (ASP) Matakuliah: M0114/Web Based Programming Tahun: 2005 Versi: 5.
 2004 Prentice Hall, Inc. All rights reserved. Chapter 21 – Web Servers (IIS and Apache) Outline 21.1 Introduction 21.2 HTTP Request Types 21.3 System.
DT211/3 Internet Development Application Web Servers.
Web Servers How do our requests for resources on the Internet get handled? Can they be located anywhere? Global?
Introduction to Web Application Architectures Web Application Architectures 18 th March 2005 Bogdan L. Vrusias
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 2.
Introduction to Web Interface Technology (CSE2030)
1 Software Testing and Quality Assurance Lecture 32 – SWE 205 Course Objective: Basics of Programming Languages & Software Construction Techniques.
How Clients and Servers Work Together. Objectives Learn about the interaction of clients and servers Explore the features and functions of Web servers.
 2008 Pearson Education, Inc. All rights reserved Web Servers (IIS and Apache)
1 CS 482 Web Programming and Scripting Week 6 – Installing Apache, PHP, MySQL and Using the Software.
APACHE WEBSERVER.
Computer Science 101 Web Access to Databases Overview of Web Access to Databases.
Hands-On Microsoft Windows Server 2008 Chapter 8 Managing Windows Server 2008 Network Services.
WEB DESIGN SOME FOUNDATIONS. SO WHAT IS THIS INTERNET.
SYST Web Technologies SYST Web Technologies Installing a Web Server (XAMPP)
Christopher M. Pascucci Basic Structural Concepts of.NET Browser – Server Interaction.
Linux Operations and Administration
17 Web Servers (Apache and IIS)
1 Web Servers (IIS and Apache) Outline 9.1 Introduction 9.2 HTTP Request Types 9.3 System Architecture 9.4 Client-Side Scripting versus Server-Side Scripting.
ASP.Net, Web Forms and Web Controls 1 Outline Introduction Simple HTTP Transaction System Architecture Creating and Running a Simple Web Form Example Web.
CSCI 323 – Web Development Chapter 1 - Setting the Scene We’re going to move through the first few chapters pretty quick since they are a review for most.
INTRODUCTION TO WEB DATABASE PROGRAMMING
9-1 aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf.
 2000 Deitel & Associates, Inc. All rights reserved. Chapter 24 – Web Servers (PWS, IIS, Apache, Jigsaw) Outline 24.1Introduction 24.2Microsoft Personal.
Web Servers Web server software is a product that works with the operating system The server computer can run more than one software product such as .
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved Bookstore Web Application Introducing Visual Web Developer 2008 Express and the.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Outline 29.1 Multi-Tier Architecture 29.2 Web Servers.
Web Servers1-1 Web Servers Xingquan (Hill) Zhu
Introduction to ASP.NET. Prehistory of ASP.NET Original Internet – text based WWW – static graphical content  HTML (client-side) Need for interactive.
1 Web Server Concepts Dr. Awad Khalil Computer Science Department AUC.
Copyright © cs-tutorial.com. Introduction to Web Development In 1990 and 1991,Tim Berners-Lee created the World Wide Web at the European Laboratory for.
Dr. Azeddine Chikh IS444: Modern tools for applications development.
Databases and the Internet. Lecture Objectives Databases and the Internet Characteristics and Benefits of Internet Server-Side vs. Client-Side Special.
Chapter 1: Introduction to Web
2013Dr. Ali Rodan 1 Handout 1 Fundamentals of the Internet.
1 Web Server Administration Chapter 1 The Basics of Server and Web Server Administration.
Introduction to Internet Programming (Web Based Application)
Chapter 17 - Deploying Java Applications on the Web1 Chapter 17 Deploying Java Applications on the Web.
 2001 Prentice Hall, Inc. All rights reserved. 1 Chapter 21 - Web Servers (IIS, PWS and Apache) Outline 21.1 Introduction 21.2 HTTP Request Types 21.3.
 2004 Prentice Hall, Inc. All rights reserved. 1 Segment – 6 Web Server & database.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
Kingdom of Saudi Arabia Ministry of Higher Education Al-Imam Muhammad Ibn Saud Islamic University College of Computer and Information Sciences Chapter.
1 Welcome to CSC 301 Web Programming Charles Frank.
Structure of the Internet. Internet Structure LAN ISP Internet Backbone.
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
Introduction to Internet. Chapter 1 Objectives Origins of the Internet Packets and Routers TCP/IP DNS HTTP URL Client-Server.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
1 Web Servers (Chapter 21 – Pages( ) Outline 21.1 Introduction 21.2 HTTP Request Types 21.3 System Architecture.
Internet & World Wide Web How to Program, 5/e. © by Pearson Education, Inc. All Rights Reserved.2 Revised by Dr. T. Tran for CSI3140.
 2008 Pearson Education, Inc. All rights reserved. Chapter 17 Web Servers (Apache and IIS) Internet & World Wide Web How to Program, 5/e.
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
Introduction and Principles Web Server Scripting.
ASP-2-1 SERVER AND CLIENT SIDE SCRITPING Colorado Technical University IT420 Tim Peterson.
JavaScript and Ajax (Internet Background) Week 1 Web site:
Web Page Designing With Dreamweaver MX\Session 1\1 of 9 Session 1 Introduction to PHP Hypertext Preprocessor - PHP.
Copyright © 2011 Pearson Addison-Wesley Web Servers and Projects Deployment Chapter 11 – Slide 1.
CGS 3066: Web Programming and Design Spring 2016 Introduction to Server-Side Programming.
Web Server Administration Chapter 6 Configuring a Web Server.
6/28/ A global mesh of interconnected networks (internetworks) meets these human communication needs. Some of these interconnected networks are.
National College of Science & Information Technology.
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
Web Technology Seminar
Web Concepts Lesson 2 ITBS2203 E-Commerce for IT.
Web Development Web Servers.
Warm Handshake with Websites, Servers and Web Servers:
17 Web Servers (Apache and IIS)
17 Web Servers (Apache and IIS)
Web Servers (IIS and Apache)
Presentation transcript:

 2003 Prentice Hall, Inc. All rights reserved. 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) Microsoft Internet Information Services (IIS) Microsoft Internet Information Services (IIS) Apache Web Server 21.8 Requesting Documents XHTML ASP.NET Perl PHP Python 21.9 Web Resources

 2003 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.

 2003 Prentice Hall, Inc. All rights reserved Introduction Web server  Responds to client requests by providing resources URI (Uniform Resource Identifier) Web server and client communicate with platform-independent Hypertext Transfer Protocol (HTTP)

 2003 Prentice Hall, Inc. All rights reserved Introduction

 2003 Prentice Hall, Inc. All rights reserved HTTP Request Types Request methods  get – typically used to get (or retrieve) information from a server.  post – typically used to send information to a server (e.g., authentication information or data from a form that gathers user input)  Retrieve and send client form data to Web server  Post data to a server-side form handler

 2003 Prentice Hall, Inc. All rights reserved 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

 2003 Prentice Hall, Inc. All rights reserved System Architecture Three tier application model Application Database Client Tier Middle Tier Information Tier Network Application Server Database Server

 2003 Prentice Hall, Inc. All rights reserved. Client-Server Interaction Several instances of client-server communication

 2003 Prentice Hall, Inc. All rights reserved 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

 2003 Prentice Hall, Inc. All rights reserved Accessing Web Servers Request documents from Web servers  Host names (where web server software resides)  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

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

 2003 Prentice Hall, Inc. All rights reserved 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

 2003 Prentice Hall, Inc. All rights reserved Microsoft Internet Information Services (IIS) 5.0 Fig. 21.3Internet Information Services window of Internet Services Manager.

 2003 Prentice Hall, Inc. All rights reserved Microsoft Internet Information Services (IIS) 5.0 Fig. 21.4Virtual Directory Creation Wizard welcome dialog.

 2003 Prentice Hall, Inc. All rights reserved Microsoft Internet Information Services (IIS) 5.0 Fig. 21.5Virtual Directory Alias dialog of the Virtual Directory Creation Wizard.

 2003 Prentice Hall, Inc. All rights reserved Microsoft Internet Information Services (IIS) 5.0 Fig. 21.6Web Site Content Directory dialog of the Virtual Directory Creation Wizard.

 2003 Prentice Hall, Inc. All rights reserved Microsoft Internet Information Services (IIS) 5.0 Fig. 21.7Access Permissions dialog of the Virtual Directory Creation Wizard.

 2003 Prentice Hall, Inc. All rights reserved Microsoft Internet Information Services (IIS) 6.0 Fig. 21.8Internet Information (IIS) Services Manager window. Control Panel  Administrative Tools  Internet Information Services (IIS) Manager

 2003 Prentice Hall, Inc. All rights reserved Microsoft Internet Information Services (IIS) 6.0 Fig. 21.9Virtual Directory Creation Wizard welcome dialog. Right Click on Default Web Site  New  Virtual Directory.

 2003 Prentice Hall, Inc. All rights reserved Microsoft Internet Information Services (IIS) 6.0 Fig Virtual Directory Alias dialog of the Virtual Directory Creation Wizard.

 2003 Prentice Hall, Inc. All rights reserved Microsoft Internet Information Services (IIS) 6.0 Fig Web Site Content Directory dialog of the Virtual Directory Creation Wizard.

 2003 Prentice Hall, Inc. All rights reserved Microsoft Internet Information Services (IIS) 6.0 Fig Access Permissions dialog of the Virtual Directory Creation Wizard.

 2003 Prentice Hall, Inc. All rights reserved Apache Web Server Currently the most popular Web server Stability Efficiency Portability Open-source

 2003 Prentice Hall, Inc. All rights reserved Apache Web Server Fig Apache Web server starting. (Courtesy of The Apache Software Foundation.) To obtain Apache Web Server: To download documentation and installation instructions:

 2003 Prentice Hall, Inc. All rights reserved Requesting Documents Requesting five different documents  XHTML  ASP.NET  Perl  PHP  Python

 2003 Prentice Hall, Inc. All rights reserved XHTML Request XHTML documents from IIS 6.0 or Apache  Launch Internet Explorer  Enter XHTML document’s location in Address field

 2003 Prentice Hall, Inc. All rights reserved XHTML Fig Requesting test.html from IIS 5. Fig Requesting test.html from IIS 6 or Apache.

 2003 Prentice Hall, Inc. All rights reserved 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

 2003 Prentice Hall, Inc. All rights reserved ASP.NET Fig Requesting test.aspx from IIS 5. Fig Requesting test.aspx from IIS 6.

 2003 Prentice Hall, Inc. All rights reserved Perl Request Perl document from IIS 5 or 6  Launch Internet Explorer  Enter the Perl document’s location in the Address field Request Perl document on Apache Web server  Put all Perl documents in cgi-bin directory  Launch Internet Explorer  Enter Perl document’s location in Address field

 2003 Prentice Hall, Inc. All rights reserved Perl Fig Requesting test.pl from IIS 5. Fig Requesting test.pl from IIS 6.

 2003 Prentice Hall, Inc. All rights reserved Perl Fig Requesting test.pl from Apache.

 2003 Prentice Hall, Inc. All rights reserved 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

 2003 Prentice Hall, Inc. All rights reserved PHP Fig Requesting test.php from IIS 5. Fig Requesting test.php from IIS 6.

 2003 Prentice Hall, Inc. All rights reserved PHP Fig Requesting test.php from Apache.

 2003 Prentice Hall, Inc. All rights reserved Python Request Python documents from IIS 5 and 6  Launch Internet Explorer  Enter Python document’s location in the Address field Request Python documents from Apache Web server  Put Python documents in cgi-bin directory  Launch Internet Explorer  Enter Python document’s location in Address field

 2003 Prentice Hall, Inc. All rights reserved Python Fig Requesting test.py from IIS. Fig Requesting test.py from IIS 6.

 2003 Prentice Hall, Inc. All rights reserved Python Fig Requesting test.py from Apache.

 2003 Prentice Hall, Inc. All rights reserved Web Resources httpd.apache.org httpd.apache.org/docs linuxtoday.com/stories/18780.html