Apache Server. -2--2- 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.

Slides:



Advertisements
Similar presentations
Lecture plan Information retrieval (from week 11)
Advertisements

FIRST SESSION - XAMPP Jeongmin Lee.  Jeongmin Lee  CS  PHD  Machine Learning, AI  Web System Development.
Michelle J. Gosselin, Jennifer Schommer Guanzhong Wang.
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.
DT211/3 Internet Application Development Active Server Pages & IIS Web server.
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.
CGIWrap CGIWrap is a gateway program that allows general users to use CGI scripts and HTML forms without compromising the security of the http server.
Web Servers How do our requests for resources on the Internet get handled? Can they be located anywhere? Global?
Chapter Apache Installation in Linux- Mandrake. Acknowledgment The following information has been obtained directly from
CGI and Perl MSc Publishing on the WWW. What is CGI ? (1) User Buying and selling Playing games Customised web pages Developer Means to run external programs.
Configuring a Web Server. Overview  Understand how a Web server works  Install IIS (Internet Information Services) and Apache Web servers  Examine.
How Clients and Servers Work Together. Objectives Learn about the interaction of clients and servers Explore the features and functions of Web servers.
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.
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.
Chapter 22 Web Hosting and Internet Servers Xuanxuan Su.
Tomcat Celsina Bignoli History of Tomcat Tomcat is the result of the integration of two groups of developers. – JServ, an open source.
SquirrelMail for Webmail AfNOG 2013 Scalable Internet Services (SS-E) Presented by Michuki Mwangi Lusaka, Zambia (Original Materials by Joelja)
Julie McEnery1 Installing the ScienceTools The release manager automatically compiles each release of the Science Tools, it creates a set of wrapper scripts.
Linux Operations and Administration
TOPIC 1 – SERVER SIDE APPLICATIONS IFS 234 – SERVER SIDE APPLICATION DEVELOPMENT.
Common Gateway Interface
Setting up Greenstone for your organization Course material prepared by Greenstone Digital Library Project University of Waikato, New Zealand andNational.
Web Server Configuration Alokes Chattopadhyay Computer & Informatics Centre IIT Kharagpur.
The Linux Operating System Lecture 5: Apache Tonga Institute of Higher Education.
Apache Tomcat Web Server SNU OOPSLA Lab. October 2005.
1 Homework / Exam Exam 3 –Solutions Posted –Questions? HW8 due next class Final Exam –See posted schedule Websites on UNIX systems Course Evaluations.
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
Web Servers Installation and Configuration May 24, 2001 CIS System Administration Problem Statement The class topic is setting up a Linux server to support.
Web Servers1-1 Web Servers Xingquan (Hill) Zhu
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.
From Client Server to WEB Rizwan Akhtar Tangible Technologies
Apache, PHP, MySQL Installation and configuration Web Programming with PHP,TITAS PROJECTIICT,BUET.
Setting up NIS and HTTP. Network Information Service Reading: 1. Linux NIS HOWTO: howto/HOWTOhttp://
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:
SchwartzGBIF Nodes III29 April 2003 DiGIR Portal Installation And Configuration.
ITIS 1210 Introduction to Web-Based Information Systems Chapter 23 How Web Host Servers Work.
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.
Apache Web Server v. 2.2 Reference Manual Chapter 1 Compiling and Installing.
Web Indexing and Searching By Florin Zidaru. Outline Web Indexing and Searching Overview Swish-e: overview and features Swish-e: set-up Swish-e: demo.
Apache and... Virtual Hosts ---- aliases mod_rewrite ---- htaccess AFNOG 11 Kigali, Rwanda May 2010 Dorcas Muthoni Courtesy: Hervey Allen.
10/13/2015 ©2006 Scott Miller, University of Victoria 1 Content Serving Static vs. Dynamic Content Web Servers Server Flow Control Rev. 2.0.
Apache, MySQL and PHP Installation and Configuration Chapter 1 Apache Installation and Configuration.
Apache Web Server Quick and Dirty for AfNOG 2015 (Originally by Joel Jaeggli for AfNOG 2007) ‏
Cosc 4750 Configuring httpd, Mysql, And Samba. defaults By default httpd demean will startup and work User directories are turned off Default directory.
1 Session 1: Introduction to PHP & MySQL iNET Academy Open Source Web Development.
Greenstone Internals How to Build a Digital Library Ian H. Witten and David Bainbridge.
More than one site? Use multiple configuration files Use multiple configuration files  httpd –d {path}  Assumes “conf/httpd.conf” Logging transactions.
Field Trip #24 Setting Up a Web Server. Apache Apache is one of the most successful open source web servers In 1995 the most popular web server was the.
Web Server Administration Chapter 6 Configuring a Web Server.
Presented by Lonnye Bower Fardin Khan Chris Orona APACHE WEB SERVER.
Web Server Apache PHP HTTP Request User types URL into browser Address resolved if nec. We use directly Most browsers request.
NJIT 1 Apache Tomcat (Version 6.0) THETOPPERSWAY.COM.
IBM Http Server Basic Administration. CONTENTS Web server IHS How does IHS differ from Apache Basic configurations Advanced Configurations Performance.
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.
Web Server Administration Chapter 6 Configuring a Web Server.
Outline  XAMPP  XAMPP Install  Put php and HTML documents  Windows and Mac Version  Security.
Apache Web Server v. 2.2 Reference Manual Chapter 2 Starting Apache.
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
Apache Server.
Unix System Administration
Apache Tomcat Web Server
Enabling CGI & PHP With Apache
APACHE WEB SERVER.
Presentation transcript:

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 program which waits for requests and serves them on demand.

Apache Server How Can Apache Contribute to ALEPH? Apache is one of the fastest HTTP servers available. It can help to reduce the ALEPH server’s work, thus improving response time. Standard modules can be added to improve the Apache and ALEPH servers’ performance.

Apache Server WEB Server ALEPH ALEPH ALEPH SERVER ALEPH FRONT SERVER (4505) http 1.0 CLIENT listens to client & transfers to server parses request & calls appropriate program Includes: database ALEPH tables html pages programs icons

Apache Server WEB Server ALEPH ALEPH ALEPH SERVER ALEPH FRONT SERVER (4505) CLIENT listens to client & transfers to front (cgi or fast cgi) parses request & calls appropriate program Includes: database ALEPH tables html pages programs icons APACHE SERVER http 1.1 CGI or FAST CGI (Kept in Cache)

Apache Server You Can Use Apache to Load icons and pictures for better performance.

Apache Server You “Must” Use Apache to Run ALEPH as a cgi ( common gateway interface ) or as a fastcgi. (ALEPH 12.3 and higher) Starting from version ALEPH runs only as cgi. Transfer external files (that are linked to ALEPH) of types other than plain text. Download the PDF version of Documentation (ALEPH 12.1 and higher).

Apache Server Before Installation Check that Perl is installed in your system. Check that you have an ANSI C compiler (gcc is preferred) (e.g. native c of sun - not ansi) Download Apache source (tar). If you want to run fastcgi - install the fastcgi development kit. If you want to use fastcgi - download the fastcgi module source and the fastcgi devkit.

Apache Server Installing and Configuring Download and install the Apache Server package. Change Apache configuration file to enable access to ALEPH. Change ALEPH files to enable communication with the Apache Server. Make links from the Apache Document root directory to ALEPH files.

Apache Server -10- Installing and Configuring Run the Apache server (you need root permission). Add the proper commands to run Apache upon startup (depending on the operating system).

Apache Server -11- Apache Installation Run the configure script, use the --enable-module=headers and --enable-module=expires options. If you want to run fastcgi - use the --activate-module=src/modules/fastcgi/libfastcgi.a option. Type make make install

Apache Server -12- Apache Configuration Edit the httpd.conf file. Change and/or add lines relevant to Aleph: Port 80 user aleph group aleph ServerAdmin ServerRoot root_to_Apache_files

Apache Server -13- Configuration File (cont.) Set the ALEPH environment: SetEnv alephe_tab /aleph/$aleph_version/alephe/tab SetEnv ALEPH_VERSION $aleph_version SetEnv aleph_proc /aleph/$aleph_version/aleph/proc SetEnv USER user_for_$aleph_version

Apache Server -14- Configuration File (cont.) If you will run Aleph as fastcgi, add the lines AllowOverride None Options ExecCGI Order allow,deny Allow from all AddHandler fastcgi-script.fcgi If you will run fastcgi, add the line FastCgiConfig

Apache Server -15- Configuration File (cont.) If you will run Aleph as cgi or fastcgi, add the proper ScriptAlias line. ScriptAlias "/ALEPH” "/aleph/a50_5/aleph/exe/www_front_cgi/ALEPH" ScriptAlias "/S" "/aleph/a50_5/aleph/exe/www_front_cgi/S" ScriptAlias "/X" "/aleph/a50_5/aleph/exe/www_front_cgi/X" ScriptAlias "/R" "/aleph/a50_5/aleph/exe/www_front_cgi/R" ScriptAlias "/B" "/aleph/a50_5/aleph/exe/www_front_cgi/B" ScriptAlias "/V" "/aleph/a50_5/aleph/exe/www_front_cgi/V" ….

Apache Server -16- Last Configuration Steps Go to the DocumentRoot directory. Make soft-links to directories you want to access as detailed in the HowTo document. Prepared script from 15.1 Get root permissions and run the apache server: /bin/httpd -d

Apache Server -17- ALEPH Files Changes: Edit $alephe_root/www_server_defaults –Change the icon path definition. –Define the doc_path variable. –In version 14.2 and up, define setenv server_media

Apache Server -18- ALEPH Files Changes: Edit $alephe_root/aleph_start_505… –Define the following variables: setenv HTTPD_PORT 80 setenv httpd_bin /aleph/product/apache/bin setenv httpd_root ${ALEPH_MOUNT}/a5${VERSION_NUMB ER}_5/alephe/apache

Apache Server -19- Aleph_start variables: Add the line to run Apache upon startup (depends on Operating System).