Institute for Visualization and Perception Research 1 © Copyright 1998 Haim Levkowitz Setting up a Web server Setting up basic services... Web server maintenance...

Slides:



Advertisements
Similar presentations
CS 22: Enhanced Web Site Design - Week 8Slide 1 of 15 Enhanced Web Site Design Stanford University Continuing Studies CS 22 Mark Branom
Advertisements

Developing a Web Site: Links Using a link is a quicker way to access information at the bottom of a Web page than scrolling down A user can select a link.
1 Configuring Internet- related services (April 22, 2015) © Abdou Illia, Spring 2015.
20-753: Fundamentals of Web Programming 1 Lecture 11: Web Server Case Study Fundamentals of Web Programming Lecture 11: Web Server Case Study.
Chapter Apache Installation on Linux. Acknowledgement The contribution made by Darrin Morison is acknowledged.
Initial web server configuration 1WUCM1. Overview Planning Testing the OS/Environment – IP setup Installation Configuration – Simple minimum details Testing.
1 Configuring Web services (Week 15, Monday 4/17/2006) © Abdou Illia, Spring 2006.
Apache Configuration Setting up a web server. Basic Server Facts Runs on port 80 Server application -> httpd Richly configurable Many defaults will let.
IIS Configuration © N. Ganesan, Ph.D.. Renaming the Default Web.
Configuring a Web Server. Overview  Understand how a Web server works  Install IIS (Internet Information Services) and Apache Web servers  Examine.
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.
Apache : Installation, Configuration, Basic Security Presented by, Sandeep K Thopucherela, ECE Department.
© De Montfort University, Web Servers Chris Hand And Howell Istance De Montfort University.
Ch 13 - Adminstering Web Resources1 Ch. 13 – Administering Web Resources MIS 431 – Created Spring 2006.
Lecture 4 Web browsers, servers and HTTP Boriana Koleva Room: C54
Chapter 22 Web Hosting and Internet Servers Xuanxuan Su.
Virtual Hosts The apache server can handle multiple “web sites” at a time – a web service provider company may have multiple different sites to offer (see.
Linux Operations and Administration
Web Server Configuration Alokes Chattopadhyay Computer & Informatics Centre IIT Kharagpur.
The Linux Operating System Lecture 5: Apache Tonga Institute of Higher Education.
Adobe Dreamweaver CS3 Revealed CHAPTER ONE: GETTING STARTED WITH DREAMWEAVER.
Web Servers Installation and Configuration May 24, 2001 CIS System Administration Problem Statement The class topic is setting up a Linux server to support.
Apache Server The Apache Server Apache is a WWW server that implements the HTTP protocol. Apache runs as a daemon. This means that it is a resident.
Web Servers1-1 Web Servers Xingquan (Hill) Zhu
1 Web Server Concepts Dr. Awad Khalil Computer Science Department AUC.
Institute for Visualization and Perception Research 1 © Copyright 1998 Haim Levkowitz World-Wide Web Introduction to the World-Wide Web Setting up a Web.
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.
1 John Magee 9 November 2012 CS120 Lecture 17a: Publishing Web pages.
Apache, PHP, MySQL Installation and configuration Web Programming with PHP,TITAS PROJECTIICT,BUET.
5 Chapter Five Web Servers. 5 Chapter Objectives Learn about the Microsoft Personal Web Server Software Learn how to improve Web site performance Learn.
Web Services CSCI N321 – System and Network Administration Copyright © 2007,2008 by Scott Orr and the Trustees of Indiana University.
 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.
1 Apache. 2 Module - Apache ♦ Overview This module focuses on configuring and customizing Apache web server. Apache is a commonly used Hypertext Transfer.
Apache Web Server v. 2.2 Reference Manual Chapter 1 Compiling and Installing.
Course ILT Internet/intranet support Unit objectives Use the Internet Information Services snap-in to manage IIS, Web sites, virtual directories, and WebDAV.
Database-Driven Web Sites, Second Edition1 Chapter 5 WEB SERVERS.
1 © Copyright 2000 Ethel Schuster The Web… in 15 minutes Ethel Schuster
Cosc 4750 Configuring httpd, Mysql, And Samba. defaults By default httpd demean will startup and work User directories are turned off Default directory.
What's Apache? Apache is open source, powerful, free and runs on more than half of all Internet servers. Let's take a quick look at how to get your Apache.
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.
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.
WEB SERVER Mark Kimmet Shana Blair. The Project Web Server Application  Receives request for web pages or images from a client browser via the internet.
Free Powerpoint Templates Page 1 Free Powerpoint Templates Users and Documents.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1 Fundamentals.
1 Chapter Overview Creating Web Sites and FTP Sites Creating Virtual Directories Managing Site Security Troubleshooting IIS.
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
More than one site? Use multiple configuration files Use multiple configuration files  httpd –d {path}  Assumes “conf/httpd.conf” Logging transactions.
Unit 1 – Web Concepts Instructor: Brent Presley.
Web Server Administration Chapter 6 Configuring a Web Server.
Server Side Scripting Perl, Python, Java Servlets  write complete programs in (Perl, Python, Java) to process HTTP requests and generate a complete HTTP.
1 More About HTML Images and Links. 22 Objectives You will be able to Include images in your HTML page. Create links to other pages on your HTML page.
Presented by Lonnye Bower Fardin Khan Chris Orona APACHE WEB SERVER.
Planning, configuring, running and maintaining a web server -1.
1 Unraveling the Web: How Does it All Work?. 2 Web Enabling Technologies F TCP/IP network (Internet & others) F URLs F HTTP protocol and HTTP Servers.
How Web Servers and The Internet Work The Basic Process.
NX Documentation Using Windows IIS (Internet Information Services) as a http server for NX documentation.
Web Server Administration Chapter 6 Configuring a Web Server.
9/21/04 James Gallagher Server Installation and Testing: Hands-on ● Install the CGI server with the HDF and FreeForm handlers ● Link data so the server.
Web Technology Seminar
COP 4343 Unix System Administration
HTTP – An overview.
Redirection Allow requests to be moved about your file system or around the web ScriptAlias Allows you to run CGI scripts Simple to use.
Unix System Administration
Tutorial (4): HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
الخطوات المطلوب القيام بها قبل انشاء الموقع
Unit-5 Chap-1 Configuring Web Server
Configuring Internet-related services
Part 2 Setting up a web server the easy way
The HTTP Protocol COSC 2206 Internet Tools The HTTP Protocol
APACHE WEB SERVER.
Presentation transcript:

Institute for Visualization and Perception Research 1 © Copyright 1998 Haim Levkowitz Setting up a Web server Setting up basic services... Web server maintenance... More features...

Institute for Visualization and Perception Research 2 © Copyright 1998 Haim Levkowitz Setting up basic services... Pre-compiled server Source + compilation Site-specific configuration Installing the server Starting the server Mapping URLs to documents... Testing the server Setting up home pages... Public access conventions... Announcing server...

Institute for Visualization and Perception Research 3 © Copyright 1998 Haim Levkowitz httpd (NCSA) subdirectories... cgi-bin conf icons logs support

Institute for Visualization and Perception Research 4 © Copyright 1998 Haim Levkowitz Mapping URLs to documents... Minimal URL to reach server: Different port: name:port_number... URL --> real dir translation...

Institute for Visualization and Perception Research 5 © Copyright 1998 Haim Levkowitz Minimal URL to reach server: No directory path / filename ==>server returns index.html in ServerRoot directory or (if no file) directory index (like ls -1)

Institute for Visualization and Perception Research 6 © Copyright 1998 Haim Levkowitz Different port: name:port_number... Append virtual name of document (except root-dir index) Path to doc (not absolute)

Institute for Visualization and Perception Research 7 © Copyright 1998 Haim Levkowitz URL --> real dir translation... Virtual dir in beg. URL path? (def'd in Alias / ScriptAlias in srm.conf) Yes: replace vir. dir. w/real dir. Prefix of /~user-name? Yes: ~user-name/public_html/ Doesn't exist ==> error Else DocumentRoot at beg. Path Alias, ScriptAlias, UserDir directives in srm.conf....

Institute for Visualization and Perception Research 8 © Copyright 1998 Haim Levkowitz Alias, ScriptAlias, UserDir directives in srm.conf.... Virtual directory E.g., Alias /icons /usr/local/etc/httpd/icons/ name/icons/mybitmap.xbm ==> /usr/local/etc/httpd/icons/mybitmap.x bm

Institute for Visualization and Perception Research 9 © Copyright 1998 Haim Levkowitz Setting up home pages... home.html Single / in various directories Sign: hyperlink to HTML signature page at bottom Every page Date: creation / modification Every page; automate Status: Stable / under construction

Institute for Visualization and Perception Research 10 © Copyright 1998 Haim Levkowitz Public access conventions... Server name starts w/ www. alias for comments, tips, requests etc. webmaster alias:

Institute for Visualization and Perception Research 11 © Copyright 1998 Haim Levkowitz Announcing server... Info... Announce to...

Institute for Visualization and Perception Research 12 © Copyright 1998 Haim Levkowitz Info... Owner Contents Status URL

Institute for Visualization and Perception Research 13 © Copyright 1998 Haim Levkowitz Announce to... comp.infosystems.announce

Institute for Visualization and Perception Research 14 © Copyright 1998 Haim Levkowitz Web server maintenance... Updating HTML documents Managing log files Moving directory structures Mirroring documents and servers... HTTP logs and log analysis...

Institute for Visualization and Perception Research 15 © Copyright 1998 Haim Levkowitz Mirroring documents and servers... htget Perl script: get HTML non- interactivel from Web server Duplicate part or all of another host's dir tree

Institute for Visualization and Perception Research 16 © Copyright 1998 Haim Levkowitz HTTP logs and log analysis... Two log files (in ServerRoot dir.) Error log (logs/error_log) Transfer log (logs/access_log)

Institute for Visualization and Perception Research 17 © Copyright 1998 Haim Levkowitz More features... Adding MIME types... Enabling server-side includes... Automatic directory indexing...

Institute for Visualization and Perception Research 18 © Copyright 1998 Haim Levkowitz Adding MIME types... Multipurpose Internet Mail Extensions E.g., text/plain, text/html, image/gif, video/quicktime, application/postscript New: leading x- E.g., application/x-http-cgi, text/x- server-parsed-html Adding...

Institute for Visualization and Perception Research 19 © Copyright 1998 Haim Levkowitz Adding... AddType AddEncoding DefaultType E.g., identify HTML documents First line of file contains Filename ends with.html.htm (DOS 8.3 filename) AddType text/html htm

Institute for Visualization and Perception Research 20 © Copyright 1998 Haim Levkowitz Enabling server-side includes... Files Values of environment variables Dates, doc sizes, authors, HTML in multiple docs. Examples (see my homepage) Not enabled by default in httpd... Security issues...

Institute for Visualization and Perception Research 21 © Copyright 1998 Haim Levkowitz Not enabled by default in httpd... Enable: server-wide / per directory Options Includes (or IncludesNoExec) in access.conf Which files get includes inserted Almost every file srm.conf: AddType text/x-server-parsed-html.html Sparingly Define new file extension for files needing processing AddType text/html shtml AddType text/x-server-parsed-html.shtml

Institute for Visualization and Perception Research 22 © Copyright 1998 Haim Levkowitz Security issues... IncludesNoExec more secure than Includes More later