Presented by Lonnye Bower Fardin Khan Chris Orona APACHE WEB SERVER.

Slides:



Advertisements
Similar presentations
Michelle J. Gosselin, Jennifer Schommer Guanzhong Wang.
Advertisements

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.
Apache Installation by Jack Davis. Web Servers The Apache HTTP Server is the most widely used web server on the Internet. Apache is fast, free, and full-featured.
Initial web server configuration Dr Jim Briggs 1WUCM1.
Apache Configuration Setting up a web server. Basic Server Facts Runs on port 80 Server application -> httpd Richly configurable Many defaults will let.
Chapter Apache Installation on Linux. Acknowledgement The contribution made by Darrin Morison is acknowledged.
Chapter Apache Installation in Linux- Mandrake. Acknowledgment The following information has been obtained directly from
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.
Presented by Mina Haratiannezhadi 1.  publishing, editing and modifying content  maintenance  central interface  manage workflows 2.
Installing Apache There are several ways to install the Apache web server – in CIT 370, you probably installed it from the CentOS CD-ROM although in fact,
Dynamic Web site With PHP and MySQL. MySQL The combination of MySQL database and PHP scripting language is optimum for building dynamic websites. MySQL.
Web Client/Server Communication A290/A590, Fall /09/2014.
APACHE SERVER By Innovationframes.com »
Chapter 22 Web Hosting and Internet Servers Xuanxuan Su.
Linux Operations and Administration
Web Technology – Web Server Setup : Chris Uriarte ITI-520: Web Technology Web Server Setup Meeting 2: Apache Installation and Initial Configuration Rutgers.
Microsoft Windows 2003 Server. Client/Server Environment Many client computers connect to a server.
Web Server Configuration Alokes Chattopadhyay Computer & Informatics Centre IIT Kharagpur.
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.
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.
Apache httpd Web Server C. Edward Chow. Advanced Internet & Web Systems chow2 Outline of the Talk Introduction to Apache httpd web server Basic Compilation,
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.
Apache + Tomcat. Apache + Tomcat Download mod_webapp.so:
Unix Basics Chapter 4.
SUSE Linux Enterprise Desktop Administration Chapter 12 Administer Printing.
1 Apache. 2 Module - Apache ♦ Overview This module focuses on configuring and customizing Apache web server. Apache is a commonly used Hypertext Transfer.
Course ILT Internet/intranet support Unit objectives Use the Internet Information Services snap-in to manage IIS, Web sites, virtual directories, and WebDAV.
1 Apache and Virtual Sites and SSL Dorcas Muthoni.
Database-Driven Web Sites, Second Edition1 Chapter 5 WEB SERVERS.
FTP Server and FTP Commands By Nanda Ganesan, Ph.D. © Nanda Ganesan, All Rights Reserved.
1 Week 6 The lynx browser Apache Web Server John Wang With materials courtesy of Inge Mclaurin.
Apache Web Server. Aim of this section –Introduce you to workings of the most common webserver –Give you a little experience in role of webmaster Configuring.
Web Technology – Web Server Setup : Chris Uriarte ITI-520: Web Technology Web Server Setup Meeting 2: Apache Installation and Initial Configuration Rutgers.
Apache, MySQL and PHP Installation and Configuration Chapter 1 Apache Installation and Configuration.
Apache Web Server Administration Syed Iqbal Syed Iqbal.
Review Please hand in any homework and practicals Vim Scripting Inter-device communication.
Apache with SSL and php Apache with ssl support should be the basic platform for providing web services... There are several different implementations.
WAMP Windows Apache MySQL and PHP i.e. “WAMP”. Why WAMP? WampServer is a Windows web development environment. It allows you to create and test web pages.
Linux Commands C151 Multi-User Operating Systems.
1 Chapter Overview Creating Web Sites and FTP Sites Creating Virtual Directories Managing Site Security Troubleshooting IIS.
Web Server (Apache httpd ) 1. 2 Apache Web Server A PAtCHy server: developed by the Apache group History- First.
Linux Operations and Administration
Web Server Administration Chapter 6 Configuring a Web Server.
Apache Web Server Architecture Chaitanya Kulkarni MSCS rd April /23/20081Apache Web Server Architecture.
FTP COMMANDS OBJECTIVES. General overview. Introduction to FTP server. Types of FTP users. FTP commands examples. FTP commands in action (example of use).
Web Server Apache PHP HTTP Request User types URL into browser Address resolved if nec. We use directly Most browsers request.
Lab 8 Overview Apache Web Server. SCRIPTS Linux Tricks.
IBM Http Server Basic Administration. CONTENTS Web server IHS How does IHS differ from Apache Basic configurations Advanced Configurations Performance.
Web Technology – Web Server Setup : Chris Uriarte WMB-520: Web Technology Web Server Setup Meeting 2: Apache Installation and Initial Configuration Rutgers.
CITA 310 Section 4 Apache Configuration (Selected Topics from Textbook Chapter 6)
Day 15 Apache. Being a web server Once your system is correctly connected to the network, you could be a web server. –When you go to a web site such as.
Multi-Domain Hosting CPTE 212 “Missing Slides” for 1/22/2015 John Beckett.
C Copyright © 2006, Oracle. All rights reserved. Oracle Secure Backup Additional Installation Topics.
Web Server Administration Chapter 6 Configuring a Web Server.
Apache Web Server v. 2.2 Reference Manual Chapter 2 Starting Apache.
APACHE Apache is generally recognized as the world's most popular Web server (HTTP server). Originally designed for Unix servers, the Apache 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 and Proxy Server.
Ch 22: Web Hosting and Internet Servers
COP 4343 Unix System Administration
Unix System Administration
Lab 1 introduction, debrief
Apache Web Server A PAtCHy server: developed by the Apache group formed 2/95 around a number of people who provided patch files for NCSA httpd 1.3 by Rob.
APACHE WEB SERVER.
Presentation transcript:

Presented by Lonnye Bower Fardin Khan Chris Orona APACHE WEB SERVER

Introduction Note: Images courtesy of apache.org

Introduction to Apache Apache is a web server package that works under Linux as well as under other operating systems The name Apache comes from the concept of extensive patching of existing code The primary advantage of Apache is that it is generally free or available at modest costs

Installing Apache

Installing Apache From a CD-ROM If your CD-ROM has Apache and you want to use RPM to install the package, issue this command –rpm –i apache_1_3_4.rpm (substitute the full name of the Apache package)

Installing Apache From a Download Place the downloaded files in a location that will be dedicated to the Apache files, such as /usr/apache Uncompress the files using either gzip or tar and compress You must edit the configuration file –You can find more information about this in the Readme file

Installing Apache… (con’t) Uncomment all the Modules in the configuration file except –cern_meta_module –msql_auth_module –dld_module Choose either db_auth_module or dbm_auth_module ; they should not be used together

Installing Apache… (con’t) Create the configuration file for Linux by issuing the command –Configure Compile Apache by issuing the make command –The most common error message encountered concerns the socket.h library, most likely because TCP/IP is not installed

Installing Apache… (con’t) The result of the compilation will be a binary file called httpd Copy this file into /bin or /usr/bin, where it will reside in the path

Setting Up the Website

Create the home directory for the website, we will use /usr/www/ganesan Create 3 subdirectories under the site directory –conf –htdocs –logs

Setting Up the Website (con’t) You will find a subdirectory called conf under the directory where you installed Apache –Copy 3 files ( srm.conf-didst, access.conf-dist, http.conf- dist ) from this directory into /usr/www/ganesan/conf –If you cannot find the 3 files, use the find command to find them

Setting Up the Website (con’t) Rename the 3 files you just copied to drop the “-dist ” portion of the name Edit the httpd.conf file to specify –the port number on which your web server responds –the user running the httpd daemon, etc… Specify the server name –ServerName ganesan.com

Setting Up the Website (con’t) Add a line that specifies the root directory for your website –DocumentRoot /usr/www/ganesan/htdocs Edit the srm.conf file to set up the web home directory and any special internal command usage Edit the access.conf file to set a basic set of access permissions

Setting Up the Website (con’t) In the htdocs directory create an HTML file for the server to read when it starts –This can be any HTML file –The filename should be default.html Start the httpd daemon –httpd –f /usr/www/ganesan/conf

Setting Up the Website (con’t) Test the web server by starting a browser and specify the URL If the system is working properly, you will see a screen with a list of files in the htdocs directory

Server Configuration

Make sure the ServerType directive is set to “ standalone ” Check the Port device to make sure it is set to the TCP/IP port to which your Apache server listens Set the User directive to either the user ID (UID) or the user name used for all web visitors

Server Configuration (con’t) Set the Group directive to either the group ID (GID) or the group name assigned to all web users Modify the ServerAdmin directive to include the address of the administrator Set the ServerRoot directive to the absolute path to the directory where all Apache resource and configuration files are stored –/usr/apache/conf or /etc/httpd

Server Configuration (con’t) Set the ServerName directive to the fully qualified domain name of your server

Starting and Stopping Apache

If you are running Apache as a standalone server, you need to start and stop Apache manually –Start with httpd –d rootdir –f configs –To stop Apache use ps to detect the httpd daemon’s PID and use the kill command to terminate the process

A Note on Starting and Stopping Apache Later versions of Apache include a script that does the start and stop tasks for you

Virtual Hosting

Virtual Hosts A virtual host is a web server that resides on one domain but acts as if it was on another. For example, suppose you control ganesan.com and cis454.com. Instead of setting up 2 servers, you can set up a single machine that serves both domains. Virtual hosting saves on machinery and allows for a lot of flexibility in setting up web servers

Setting Up Virtual Hosting If your network uses a name server for DNS, modify it so that the domain name points to your web server for each domain you’ll host Use the ifconfig command to set up the IP address for each domain on your server –ifconfig eth0:1 xxx.xxx.xxx.xxx

Setting Up Virtual Hosting (con’t) Add the route to the network configuration using the route command –route add –host xxx.xxx.xxx.xxx dev eth0:1 Edit the Apache httpd.conf file to set up virtual hosting – DocumentRoot /usr/www/cis454/htdocs TransferLog /usr/www/cis454/logs/access ErrorLog /usr/www/cis454/logs/errors

Setting Up Virtual Hosting (con’t) The previous step defines the virtual host for cis454.com and specifies its DocumentRoot, since each virtual host will have different web directories If more than one virtual host is defined, the entries are to be repeated for each

A Final Note There are many more configuration options possible with Apache, but they are usually used for commercial sites that require authentication or special handling characteristics

Key Terms Apache conf Server Name Virtual Hosting ifconfig

Apache Resources For more information on Apache go to – – –dev.apache.orgdev.apache.org

Thank You and Good Luck! If you have any questions regarding Apache and/or any part of this presentation, please feel free to Lonnye Bower at Chris Orona at Fardin Khan at