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.

Slides:



Advertisements
Similar presentations
Enabling Secure Internet Access with ISA Server
Advertisements

WEB AND WIRELESS AUTOMATION connecting people and processes InduSoft Web Solution Welcome.
A digression The next feature of programming HTTP clients that we will consider is user authentication Before considering that, however, we will digress.
1 Configuring Internet- related services (April 22, 2015) © Abdou Illia, Spring 2015.
COEN 445 Communication Networks and Protocols Lab 4
XP Browser and Basics1. XP Browser and Basics2 Learn about Web browser software and Web pages The Web is a collection of files that reside.
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.
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
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.
LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE HTML and CSS 8th Edition Chapter 21: Publishing Your Pages on the Web.
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
Form Handling, Validation and Functions. Form Handling Forms are a graphical user interfaces (GUIs) that enables the interaction between users and servers.
Hosted Exchange The purpose of this Startup Guide is to familiarize you with ExchangeDefender's Exchange and SharePoint Hosting. ExchangeDefender.
Microsoft Windows 2003 Server. Client/Server Environment Many client computers connect to a server.
Introduction to HP LoadRunner Getting Familiar with LoadRunner >>>>>>>>>>>>>>>>>>>>>>
Reading Data in Web Pages tMyn1 Reading Data in Web Pages A very common application of PHP is to have an HTML form gather information from a website's.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
1 Web Server Concepts Dr. Awad Khalil Computer Science Department AUC.
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.
Implementing ISA Server Publishing. Introduction What Are Web Publishing Rules? ISA Server uses Web publishing rules to make Web sites on protected networks.
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
Copyright 2000 eMation SECURITY - Controlling Data Access with
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.
Course ILT Internet/intranet support Unit objectives Use the Internet Information Services snap-in to manage IIS, Web sites, virtual directories, and WebDAV.
Apache and... Virtual Hosts ---- aliases mod_rewrite ---- htaccess AFNOG 11 Kigali, Rwanda May 2010 Dorcas Muthoni Courtesy: Hervey Allen.
User authentication, passwords
Database-Driven Web Sites, Second Edition1 Chapter 5 WEB SERVERS.
UCSC All rights reserved. No part of this material may be reproduced and sold. 1 IT1202-Fundamentals Of Programming (Using JAVA) Interacting with.
1. Insert the Resource CD into your CD-ROM drive, click Start and choose Run. In the field that appears, enter F:\XXX\Setup.exe (if “F” is the letter of.
FTP Server and FTP Commands By Nanda Ganesan, Ph.D. © Nanda Ganesan, All Rights Reserved.
Web Site Access Control with Apache Fort Collins, CO Copyright © XTR Systems, LLC Web Site Access Control Using the Apache Web Server Instructor: Joseph.
Apache, MySQL and PHP Installation and Configuration Chapter 1 Apache Installation and Configuration.
1 Apache and... Virtual Hosts ---- aliases mod_rewrite ---- htaccess AFNOG X Cairo, Egypt May 2009 Hervey Allen.
CITA 310 Section 2 HTTP (Selected Topics from Textbook Chapter 6)
1 Chapter Overview Creating Web Sites and FTP Sites Creating Virtual Directories Managing Site Security Troubleshooting IIS.
Authentication Names and Passwords Names and Passwords Also can use Groups Also can use Groups Webmaster can “require” authentication Webmaster can “require”
Web Technology – Web Server Setup : Chris Uriarte Meeting 4: Advanced Topics, Continued: Securing the Apache Server and Apache Performance Tuning Rutgers.
Web Server (Apache httpd ) 1. 2 Apache Web Server A PAtCHy server: developed by the Apache group History- First.
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).
APACHE -By V.Gouthaman. The Apache HTTP Server, commonly referred to as Apache is web server software notable for playing a key role in the initial growth.
CITA 310 Section 4 Apache Configuration (Selected Topics from Textbook Chapter 6)
Virtual Machines Module 2. Objectives Define virtual machine Define common terminology Identify advantages and disadvantages Determine what software is.
Institute for Visualization and Perception Research 1 © Copyright 1998 Haim Levkowitz Setting up a Web server Setting up basic services... Web server maintenance...
1 BCS 4 th Semester. Step 1: Download SQL Server 2005 Express Edition Version Feature SQL Server 2005 Express Edition SP1 SQL Server 2005 Express Edition.
INTERNET APPLICATIONS CPIT405 Install a web server and analyze packets.
TELEPORT PRO Website to Hard Drive Completely download a website, enabling you to “Browse Offline” at much greater speeds than if you were to browse the.
NX Documentation Using Windows IIS (Internet Information Services) as a http server for NX documentation.
Joomla Awdhesh Kumar Singsys Pte Ltd. What is Joomla? Joomla is an award-winning content management system (CMS), which enables you to build Web sites.
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.
Data Virtualization Tutorial… SSL with CIS Web Data Sources
WikID installation/training
Apache and... Virtual Hosts ---- aliases mod_rewrite ---- htaccess
Authentication & .htaccess
Parts.cat.com Client training 2016.
Networks Problem Set 1 Due Oct 3 Bonus Date Oct 2
IIS.
Unit-5 Chap-1 Configuring Web Server
Configuring Internet-related services
How to install and manage exchange server 2010 OP Saklani.
Presentation transcript:

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 server up and running.

Downloading Apache Obviously, the first thing you need to do is download the necessary source files. Various mirrors provide the download, so where you get the files is largely a matter of preference. (I tend to download from mirrors because there's not as much traffic as on the main site.) The files are available from the Apache Web site, as well.

Apache installation and setup Now that you've downloaded the software, you can begin the installation, which you'll handle completely from the command line. First, extract the files with the following commands: $ tar -xvzf apache-version.tar.gz $ cd apache-version/

Apache installation and setup cont. Now that the source is untarred and ready to go, you can begin the configuration, which offers a wide range of customisation options. If you run the command./configure --help you can see a list of Apache's configuration options, which are divided into various sections: * General options * Stand-alone options * Installation layout options * Configuration options * suEXEC options * Deprecated options

Installing Apache on Windows XP Instructions: To download Apache, go to choose a mirror and go to the /dist/httpd/binaries/win32 directory. From this directory download the MSI file with no source code included, i.e. the file name should look like apache_1.3.x-win32-x86- no_src.msi (where x is any number).

Step 2 - Installing the Apache Web Server Double click the apache_1.3.xx- win32-x86- no_src.msi file (where xx can be any number). The “Apache HTTP Server Installation Wizard” will appear. Fill in the fields as below but replace the Server Name with the name of your computer and the address with your address. Make sure you have selected “Run as a service for all users” and click “Next”.

The next option relates to the type of setup. As shown below, make sure “complete” is selected and click “next”.

When asked which folder to install to, choose the default (C:\Program Files\Apache Group) and click “Next” then “Install”.

To test the Apache installation go to using a web browser of your choice. If you can see the “Test Page for Apache Installation” (like the one shown in the image below) you have successfully installed Apache.

Apache Configurations

1.AcceptFilter directive Syntax: AcceptFilter on|off Default: AcceptFilter on Context: server config Status: core Compatibility: AcceptFilter is available in Apache and later AcceptFilter controls a BSD specific filter optimization

2.AcceptMutex directive AcceptMutex directive Syntax: AcceptMutex uslock|pthread|sysvsem|fcntl|flock|os2sem|tpfco re|none|default Default: AcceptMutex default Context: server config Status: core Compatibility: AcceptMutex is available in Apache and later. AcceptMutex controls which accept() mutex method Apache will us

3.AccessConfig directive Syntax: AccessConfig file-path|directory- path|wildcard-path Default: AccessConfig conf/access.conf Context: server config, virtual host Status: core Compatibility: The ability to specify a directory, rather than a file name, is only available in Apache and later. This directive will be eliminated in version 2.0.

This feature can be disabled using: AccessConfig /dev/null Or, on Win32 servers, AccessConfig nul Historically, this file only contained sections; in fact it can now contain any server directive allowed in the server config context. However, since Apache version 1.3.4, the default access.conf file which ships with Apache contains only comments.

4.AccessFileName directive Syntax: AccessFileName filename [filename]... Default: AccessFileName.htaccess Context: server config, virtual host Status: core Compatibility: AccessFileName can accept more than one filename only in Apache 1.3 and later

For example: AccessFileName.acl before returning the document /usr/local/web/index.html, the server will read /.acl, /usr/.acl, /usr/local/.acl and /usr/local/web/.acl for directives, unless they have been disabled with AllowOverride None

5.AddDefaultCharset directive Syntax: AddDefaultCharset On|Off|charset Context: all Status: core Default: AddDefaultCharset Off Compatibility: AddDefaultCharset is only available in Apache and later

AddDefaultCharset On enables Apache's internal default charset of iso as required by the directive. You can also specify an alternate charset to be used. For example: AddDefaultCharset utf-8

6.AddModule directive Syntax: AddModule module [module]... Context: server config Status: core Compatibility: AddModule is only available in Apache 1.2 and later For example: AddModule mod_include.c

7.AllowOverride directive Syntax: AllowOverride All|None|directive-type [directive-type]... Default: AllowOverride All Context: directory Status: core AllowOverride is only valid in sections, not in or sections, as implied by the Context section above

8.AuthName directive AuthName directive Syntax: AuthName auth-domain Context: directory,.htaccess Override: AuthConfig Status: cor sets the name of the authorization realm for a directory

It must be accompanied by AuthType and Require directives, and directives such as AuthUserFile and AuthGroupFile to work. For example: AuthName "Top Secret" The string provided for the AuthName is what will appear in the password dialog provided by most browsers.

9.AuthDigestRealmSeed directive Syntax: AuthDigestRealmSeed secret-real-string Context: directory,.htaccess Override: AuthConfig Status: core sets a per realm secret nonce prefix which is used to ensure that a captured username, password and realm string during a Digest exchange cannot be replayed at other places.

10.AuthType directive Syntax: AuthType Basic|Digest Context: directory,.htaccess Override: AuthConfig Status: core This directive selects the type of user authentication for a directory. Only Basic and Digest are currently implemented. It must be accompanied by AuthName and Require directives, and directives such as AuthUserFile and AuthGroupFile to work.

11.BindAddress directive BindAddress directive Syntax: BindAddress *|IP-address|domain-name Default: BindAddress * Context: server config Status: core Compatibility: BindAddress is deprecated and will be eliminated in Apache 2.0.

For example: BindAddress BindAddress can be used as an alternative method for supporting virtual hosts using multiple independent servers, instead of using sections

12.BS2000Account directive Syntax: BS2000Account account Default: none Context: server config Status: core Compatibility: BS2000Account is only available for BS2000 machines, as of Apache 1.3 and later.

BS2000Account directive is available for BS2000 hosts only.It must be used to define the account number for the non-privileged apache server user (which was configured using the User directive).

13.CGICommandArgs directive Syntax: CGICommandArgs On|Off Default: CGICommandArgs On Context: directory,.htaccess Override: Options Status: core Compatibility: Available in Apache and later.

14.ClearModuleList directive Syntax: ClearModuleList Context: server config Status: core Compatibility: ClearModuleList is only available in Apache 1.2 and later. This directive clears the list. It is assumed that the list will then be re-populated using the AddModule directive.

15.ContentDigest directive Syntax: ContentDigest on|off Default: ContentDigest off Context: server config, virtual host, directory,.htaccess Override: Options Status: experimental Compatibility: ContentDigest is only available in Apache 1.1 and later This directive enables the generation of Content-MD5 headers as defined in RFC1864 respectively RFC2068

16.CoreDumpDirectory directive Syntax: CoreDumpDirectory directory-path Default: the same location as ServerRoot Context: server config Status: core This controls the directory to which Apache attempts to switch before dumping core.

17.DefaultType directive Syntax: DefaultType MIME-type Default: DefaultType text/plain Context: server config, virtual host, directory,.htaccess Override: FileInfo Status: core

There will be times when the server is asked to provide a document whose type cannot be determined by its MIME types mappings. The server must inform the client of the content-type of the document, so in the event of an unknown type it uses the DefaultType. For example: DefaultType image/gif

18.DirectoryMatch Syntax:... Context: server config, virtual host Status: Core. Compatibility: Available in Apache 1.3 and late

and are used to enclose a group of directives which will apply only to the named directory and sub- directories of that directory, the same as. However, it takes as an argument a regular expression. For example:

19.DocumentRoot directive DocumentRoot directive Syntax: DocumentRoot directory-path Default: DocumentRoot /usr/local/apache/htdocs Context: server config, virtual host Status: core This directive sets the directory from which httpd will serve files.

Unless matched by a directive like Alias, the server appends the path from the requested URL to the document root to make the path to the document. Example: DocumentRoot /usr/web then an access to refers to /usr/web/index.html.

20.EBCDICConvert Syntax: EBCDICConvert On|Off[=direction] extension [extension]... Context: server config, virtual host, directory,.htaccess Status: core Override: FileInfo Compatibility: The configurable EBCDIC conversion is only available in Apache and later.

The EBCDICConvert directive maps the given filename extensions to the specified conversion setting (On or Off). File extensions may be specified with or without a leading dot

21.EnableExceptionHook directive Syntax: EnableExceptionHook on|off Default: EnableExceptionHook off Context: server config Status: core Compatibility: EnableExceptionHook is available in Apache and later EnableExceptionHook controls whether or not an exception hook implemented by a module will be called after a child process crash.

22. directive Syntax:... Context: server config, virtual host,.htaccess Status: core Compatibility: only available in Apache 1.2 and above The directive provides for access control by filename.

23. Syntax:... Context: server config, virtual host,.htaccess Status: core Compatibility: only available in Apache 1.3 and above. The directive provides for access control by filename, just as the directive does. However, it accepts a regular expression. For example: would match most common Internet graphics formats.

24.HostnameLookups directive Syntax: HostnameLookups on|off|double Default: HostnameLookups off Context: server config, virtual host, directory Status: core Compatibility: double available only in Apache 1.3 and above. Compatibility: Default was on prior to Apache 1.3.

This directive enables DNS lookups so that host names can be logged (and passed to CGIs/SSIs in REMOTE_HOST). At least one of the ip addresses in the forward lookup must match the original address. (In "tcpwrappers" terminology this is called PARANOID.)

25.IdentityCheck directive Syntax: IdentityCheck on|off Default: IdentityCheck off Context: server config, virtual host, directory Status: core This directive enables RFC1413-compliant logging of the remote user name for each connection, where the client machine runs identd or something similar. This information is logged in the access log.

26. directive Syntax:... Default: None Context: all Status: Core Compatibility: is only available in and later. The... section is used to mark directives that are conditional. The directives within an IfDefine section are only processed if the test is true. If test is false, everything between the start and end markers is ignored. The test in the section directive can be one of two forms: * parameter-name * !parameter-name

27. directive Syntax:... Default: None Context: all Status: Core Compatibility: IfModule is only available in 1.2 and later.

The... section is used to mark directives that are conditional. The directives within an IfModule section are only processed if the test is true. If test is false, everything between the start and end markers is ignored. The test in the section directive can be one of two forms: * module name * !module name

28.KeepAliveTimeout directive Syntax: KeepAliveTimeout seconds Default: KeepAliveTimeout 15 Context: server config Status: Core Compatibility: KeepAliveTimeout is only available in Apache 1.1 and later. The number of seconds Apache will wait for a subsequent request before closing the connection.

29. directive Syntax:... Context: any Status: core Access controls are normally effective for all access methods, and this is the usual desired behavior. In the general case, access control directives should not be placed within a section

30. directive directive Syntax:... Context: any Status: core Compatibility: Available in Apache and later

and are used to enclose a group of access control directives which will then apply to any HTTP access method not listed in the arguments; i.e., it is the opposite of a section and can be used to control both standard and nonstandard/unrecognized methods. See the documentation for for more details.For example: Require valid-user

Thank you