CP476 Internet Computing Browser and Web Server 1 Web Browsers A client software program that allows you to access and view Web pages on the Internet –Examples.

Slides:



Advertisements
Similar presentations
The Internet Useful Definitions and Concepts About the Internet.
Advertisements

Chapter 11 © 2001 by Addison Wesley Longman, Inc. 1 Chapter 11 Sebesta: Programming the World Wide Web.
Layer 7- Application Layer
Apache Configuration Setting up a web server. Basic Server Facts Runs on port 80 Server application -> httpd Richly configurable Many defaults will let.
Web Servers How do our requests for resources on the Internet get handled? Can they be located anywhere? Global?
How Clients and Servers Work Together. Objectives Learn about the interaction of clients and servers Explore the features and functions of Web servers.
Topics in this presentation: The Web and how it works Difference between Web pages and web sites Web browsers and Web servers HTML purpose and structure.
Apache : Installation, Configuration, Basic Security Presented by, Sandeep K Thopucherela, ECE Department.
Browsing the World Wide Web. Spring 2002Computer Networks Applications Browsing Service Allows one to conveniently obtain and display information that.
Lecture 4 Web browsers, servers and HTTP Boriana Koleva Room: C54
Web Client/Server Communication A290/A590, Fall /09/2014.
Chapter 22 Web Hosting and Internet Servers Xuanxuan Su.
Linux Operations and Administration
Web Server Configuration Alokes Chattopadhyay Computer & Informatics Centre IIT Kharagpur.
Copyright © Texas Education Agency, All rights reserved.1 Web Technologies Web Administration.
Introduction of Web programming Ins. Elaf Alhazmi LECTURE 1.
Web Servers Installation and Configuration May 24, 2001 CIS System Administration Problem Statement The class topic is setting up a Linux server to support.
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.
An introduction to Apache. Different Types of Web Servers Apache is the default web server for may Unix servers. IIS is Microsoft’s default web server.
The Internet Writer’s Handbook 2/e Introduction to World Wide Web Terms Writing for the Web.
Web Mastering Module Internet Fundamentals. What is the Internet? –Global network of networks –Communicating using same set of rules (protocols/languages)
Lectures and Practicals Mon 8-10 SC1222 TUE SC1222 Office: SC Website: mis.csit.sci.tsu.ac.th/kanida.
CP476 Internet Computing Lecture 5 : HTTP, WWW and URL 1 Lecture 5. WWW, HTTP and URL Objective: to review the concepts of WWW to understand how HTTP works.
Chapter 6 The World Wide Web. Web Pages Each page is an interactive multimedia publication It can include: text, graphics, music and videos Pages are.
Postacademic Interuniversity Course in Information Technology – Module C1p1 Contents Data Communications Applications –File & print serving –Mail –Domain.
5 Chapter Five Web Servers. 5 Chapter Objectives Learn about the Microsoft Personal Web Server Software Learn how to improve Web site performance Learn.
 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.
ITIS 1210 Introduction to Web-Based Information Systems Chapter 23 How Web Host Servers Work.
HOW WEB SERVER WORKS? By- PUSHPENDU MONDAL RAJAT CHAUHAN RAHUL YADAV RANJIT MEENA RAHUL TYAGI.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
1 Apache. 2 Module - Apache ♦ Overview This module focuses on configuring and customizing Apache web server. Apache is a commonly used Hypertext Transfer.
Database-Driven Web Sites, Second Edition1 Chapter 5 WEB SERVERS.
Web Engineering we define Web Engineering as follows: 1) Web Engineering is the application of systematic and proven approaches (concepts, methods, techniques,
MySQL and PHP Internet and WWW. Computer Basics A Single Computer.
Hour 7 The Application Layer 1. What Is the Application Layer? The Application layer is the top layer in TCP/IP's protocol suite Some of the components.
1 Welcome to CSC 301 Web Programming Charles Frank.
1 © Copyright 2000 Ethel Schuster The Web… in 15 minutes Ethel Schuster
Structure of the Internet. Internet Structure LAN ISP Internet Backbone.
NETWORK HARDWARE AND SOFTWARE MR ROSS UNIT 3 IT APPLICATIONS.
Web Design (1) Terminology. Coding ‘languages’ (1) HTML - Hypertext Markup Language - describes the content of a web page CSS - Cascading Style Sheets.
Overview Web Session 3 Matakuliah: Web Database Tahun: 2008.
LinuxChix Apache. Serving Webpages The layer 7 protocol (HTTP) is what our browsers talk to get us the websites we can't seem to live without. HTTP is.
Introduction to Internet. Chapter 1 Objectives Origins of the Internet Packets and Routers TCP/IP DNS HTTP URL Client-Server.
World Wide Web “WWW”, "Web" or "W3". World Wide Web “WWW”, "Web" or "W3"
WWW: an Internet application Bill Chu. © Bei-Tseng Chu Aug 2000 WWW Web and HTTP WWW web is an interconnected information servers each server maintains.
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
CITA 310 Section 2 HTTP (Selected Topics from Textbook Chapter 6)
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1 Fundamentals.
Internet Applications (Cont’d) Basic Internet Applications – World Wide Web (WWW) Browser Architecture Static Documents Dynamic Documents Active Documents.
CSI 3125, Preliminaries, page 1 Networking. CSI 3125, Preliminaries, page 2 Networking A network represents interconnection of computers that is capable.
Web Server Administration Chapter 6 Configuring a Web Server.
Apache Web Server Architecture Chaitanya Kulkarni MSCS rd April /23/20081Apache Web Server Architecture.
The Internet. Important Terms Network Network Internet Internet WWW (World Wide Web) WWW (World Wide Web) Web page Web page Web site Web site Browser.
JavaScript and Ajax (Internet Background) Week 1 Web site:
Web Design Terminology Unit 2 STEM. 1. Accessibility – a web page or site that address the users limitations or disabilities 2. Active server page (ASP)
INTERNET AND . WHAT IS INTERNET The Internet can be defined as the wired or wireless mode of communication through which one can receive, transmit.
Web Server Administration Chapter 6 Configuring a Web Server.
APACHE Apache is generally recognized as the world's most popular Web server (HTTP server). Originally designed for Unix servers, the Apache Web server.
Web Technology Seminar
Understanding Web Server Programming
4.01 How Web Pages Work.
Distributed Control and Measurement via the Internet
Web Concepts Lesson 2 ITBS2203 E-Commerce for IT.
JavaScript and Ajax (Internet Background)
Warm Handshake with Websites, Servers and Web Servers:
CNIT 131 Internet Basics & Beginning HTML
Chapter 27 WWW and HTTP.
APACHE WEB SERVER.
Web Servers (IIS and Apache)
Presentation transcript:

CP476 Internet Computing Browser and Web Server 1 Web Browsers A client software program that allows you to access and view Web pages on the Internet –Examples Mosaic, Netscape, Mozilla, Firefox (4.9%) Opera, Safari (for Apple computer) Microsoft Internet Explorer (90%)| How a browser work? –Given a URL, a browser intimates a request to a DNS server to resolve the IP address of the host specified in URL. Lecture 6. Web Browser and Web Server Objective: to understand how a browser interacts with a web server.

CP476 Internet Computing Browser and Web Server 2 –Combining the IP address and the document path of the URL, the browser initiates a request for the document to a server, and the server responses to the request. Most requests are for existing documents, Some requests are for program execution, with the output being returned as a document –A browser provides a graphic interface for a rich, repository of rich text, hypertext, images, audio, video, and other document types – Basic components of a browser GUI Domain name resolution module Requesting module Response processing module A Web document parser module A document display engine.

CP476 Internet Computing Browser and Web Server 3 Case study: Mosaic –Mosaic is the first graphical browser for the WWW that supports hypermedia, developed by NCSA which quickly gained popular and became the industry standard. –HTTP is the primary protocol used by Mosaic to distribute documents from the HTTPD information management services to Mosaic clients. –Check the source code of Mosaic for detail

CP476 Internet Computing Browser and Web Server 4 Web Servers –A computer that provides World Wide Web services on the Internet. It includes hardware, operating system, Web server software, TCP/IP software, and Web pages and programs. –Web server software is an application program that serves Web pages to Web browsers using the HTTP protocol. –Provide responses to browser’s requests for either existing documents or dynamically built documents –Examples Apache (2/3) Internet Information Server (IIS) by Microsoft

CP476 Internet Computing Browser and Web Server 5 How does a Web server work? –The primary task of a Web server is to monitor a communication port on its host machine, accept HTTP commands through that port, and perform the operations specified by the commands. –Example of HTTP commands: GET, PUT, POST, HEAD, and DELET. All commands include a URL –When a Web server starts, it tell its OS it is ready to accept communications through a specific port, usually 80 –When the URL is received, it is translated into either a filename (in which case the file is returned to the requesting client), or a program name (which case the program is run and its output is sent to requesting client)

CP476 Internet Computing Browser and Web Server 6 Contemporary servers provide many services –Virtual hosts - multiple sites on the same system –Proxy servers - to serve documents from the document roots of other sites –Besides HTTP, support for FTP, Gopher, News, –Support for database access

CP476 Internet Computing Browser and Web Server 7 Case study: Apache –Apache began with the NCSA server httpd. Working with Mosaic. –Apache is now an open source Web server originally formed by taking all the "patches" (fixes) to the NCSA Web server and making a new server out of it, as a project organized by Apache Software Foundation Apache has a long list of services beyond the basic process of serving documents to clients. –Services can be configured There are three configuration files: httpd.conf, srm.conf, and access.conf There are about 150 different directives can be specified –When Apache starts execution, it reads the three configuration files and sets its parameters accordingly

CP476 Internet Computing Browser and Web Server 8 The file structure of Apache –Apache has two separate directories document root server root –The document root is the root directory of all servable documents Example An Apache server runs on physcomp1 Name: Domain name: IP address: Document root: Server root: –The server can have virtual document trees. Sometimes a different disk, possibly on a different machine, is used after the original disk is filled

CP476 Internet Computing Browser and Web Server 9 –The server root is the root directory for all of the code that implements the server The server root usually has four files: One is the code for the server itself Three others are subdirectories conf - for configuration information logs - to store what has happened cgi-bin - for executable scripts The configuration file is named httpd.conf –The directives in the configuration file control the operation of the server –Configuration file format: Non-blank lines that do not begin with # must begin with a directive name, which may take parameters, separated by white space When Apache begins, it reads the configuration files and sets its parameters according to what it reads

CP476 Internet Computing Browser and Web Server 10 ServerName - default is what is returned by th hostname command, but it may be only the first part ServerName ServerRoot - to set the server root address –Default is /usr/local/etc/httpd If it is stored elsewhere, tell Apache with: ServerRoot: set the document root ServerAdmin DocumentRoot - set the document root address

CP476 Internet Computing Browser and Web Server 11 Alias - to specify a virtual document tree – Takes two parameters, virtual path for URLs and the actual path – Example: – Alias /test/ /usr/local/apache/test/ – will be mapped to /usr/local/apache/test/test.htmlhttp://physcomp1.wlu.ca/test/test.html ScriptAlias - creates a virtual directory for cgi files ScriptAlias /cgi-bin/ /usr/local/etc/httpd/cgi-bin/ Redirect DirectoryIndex index.html contents.html index.cgi UserDir public_html (UserDir disabled) Log file –Tips for building your directory on phycomp1