Download the archive from a mirror and expand it using the tar command with the gzip

Similar documents
Basic Apache Web Services

Created by : Ashish Shah, J.M. PATEL COLLEGE UNIT-5 CHAP-1 CONFIGURING WEB SERVER

Installing Apache Software

Web Server: Principles and Configuration Web Programming 8) Web Server

Systems Integration On Free Software

APACHE. An HTTP Server. Reference Manual

Installing and Configuring Apache

C:\www\apache2214\conf\httpd.conf Freitag, 16. Dezember :50

APACHE WEB SERVER. Andri Mirzal, PhD N

Installing and Configuring Apache

Eth0 IP Address with Default Gateway Settings:

How To Configure Apa Web Server For High Performance

Introduction to Apache and Global Environment Directives. S.B.Lal Indian Agricultural Statistics Research Institute, New Delhi

The course will be run on a Linux platform, but it is suitable for all UNIX based deployments.

Apache 2.2 on Windows: A Primer

Apache 2.2 on QNX Neutrino 6.4.x OS Step-by-step installation manual

httpd Apache Web Server

The Web Server. Instructor: Yi-Shin Chen Office: EECS Office Hour: Tu. 1-2PM, Th. 3-4pm

CC ICT-SUD. Setting up and integrate Apache, MySQL and PHP on a Linux system

Securing the Apache Web Server

Greenstone Documentation

TODAY web servers become more and more

Services: Apache a patchy web server

Setting up an Apache Web Server for Greenstone 2 Walkthrough

High Availability Configuration of ActiveVOS Central with Apache Load Balancer

ITools Manager User Guide

Apache Usage. Apache is used to serve static and dynamic content

Web Hosting for Fame and Fortune. A Guide to using Apache as your web-server solution

CO Web Server Administration and Security. By: Szymon Machajewski

Anexo II Ejemplos de ficheros de configuración de Apache Web Server

Apache (2) als Reverse Proxy für Outlook Web Access

ITOOLS USER S GUIDE Chapala Street. Santa Barbara, CA PH: FAX: info@tenon.com

Internet Appliance INTERNETpro Enterprise Stack : Performance & failover testing

Lab 3.4.2: Managing a Web Server

Apache2 Configuration under Debian GNU/Linux. Apache2 Configuration under Debian GNU/Linux

PHP Debugging. Draft: March 19, Christopher Vickery

Host your websites. The process to host a single website is different from having multiple sites.

Web Server Management: Running Apache 2.2 under Linux

Redatam+SP REtrieval of DATa for Small Areas by Microcomputer

1. When will an IP process drop a datagram? 2. When will an IP process fragment a datagram? 3. When will a TCP process drop a segment?

Apache. Apache. Something odd happening. Modularity 10/02/2014. We talked about it in CSCI110 Now it s time for you to configure an Apache web server

Apache Web Server Complete Guide Dedoimedo

WebBridge LR Integration Guide

WEB2CS INSTALLATION GUIDE

Installing Rails 2.3 Under CentOS/RHEL 5 and Apache 2.2

McAfee epolicy Orchestrator: Creating an Apache HTTP Repository

Maximizing Performance and Scalability with Magento Enterprise Edition

Maximizing Performance and Scalability with Magento Enterprise Edition

SVNManager Installation. Documentation. Department of Public Health Erasmus MC University Medical Center

Installing an SSL certificate on the InfoVaultz Cloud Appliance

11.1 Web Server Operation

The only skill required really is to locate and edit text-files with a text-editor like Notepad.

APACHE HTTP SERVER 2.2.8

Linux Networking Basics

Web Server Administration. Chapter 19

Web Server Manual. Mike Burns Greg Pettyjohn Jay McCarthy November 20, 2006

Ensim WEBppliance 3.1 for Linux (LH) Release Notes

Talk Internet User Guides Controlgate Administrative User Guide

FTP, IIS, and Firewall Reference and Troubleshooting

Getting the software The Apache webserver can be downloaded free from the Apache website :

Real Vision Software, Inc.

Implementing HTTPS in CONTENTdm 6 September 5, 2012

Wednesday, October 10, 12. Running a High Performance LAMP stack on a $20 Virtual Server

How To Use Ngnix (Php) With A Php-Fpm (Php-Fmm) On A Web Server (Php5) On Your Web Browser) On An Ubuntu Web Server On A Raspberry Web 2.5 (Net

Matlab Web Server Installation and Configuration Guide

Installation Guide. Understanding Faith 2014 Intranet. Understanding Faith

SQL Injection Attack Lab Using Collabtive

The Virtual Private Server Handbook

SIMIAN systems. Setting up a Sitellite development environment on Mac OS X. Sitellite Content Management System

Reference and Troubleshooting: FTP, IIS, and Firewall Information

OpenPro ERP Software Installation Guide REDHAT LINUX

Rails Application Deployment. July Philly on Rails

How to setup HTTP & HTTPS Load balancer for Mediator

1. Configuring Apache2 Load Balancer with failover mechanism

Apache and Virtual Hosts Exercises

MassTransit 6.0 Enterprise Web Configuration for Macintosh OS 10.5 Server

SendMIME Pro Installation & Users Guide

Sophos Anti-Virus for Linux configuration guide. Product version: 9

Dell KACE K1000 System Management Appliance Version 5.4. Service Desk Administrator Guide

netkit lab web server and browser 1.2 Giuseppe Di Battista, Maurizio Patrignani, Massimo Rimondini Version Author(s)

PROXY SETUP WITH IIS USING URL REWRITE, APPLICATION REQUEST ROUTING AND WEB FARM FRAMEWORK OR APACHE HTTP SERVER FOR EMC DOCUMENTUM EROOM

Configuring Apache HTTP Server With Pramati

Assembling Web Development Environments with Perforce. Stephen Vance Perforce User Conference 2001

imhosted Web Hosting Knowledge Base

Apache Configuration

OpenEyes - Windows Server Setup. OpenEyes - Windows Server Setup

Novell Access Manager


Bitrix Intranet Portal. Installation Guide

The current version installed on your server is el6.x86_64 and it's the latest available.

Exercises: FreeBSD: Apache and SSL: pre SANOG VI Workshop

Apache HTTP Server. Implementation Guide. (Version 5.7) Copyright 2013 Deepnet Security Limited

MIGS Payment Client Installation Guide. EGate User Manual

esync - Receiving data over HTTPS

Introduction Connecting Via FTP Where do I upload my website? What to call your home page? Troubleshooting FTP...

Zeus Web Server 4.3 User Guide

Comparison table for an idea on features and differences between most famous statistics tools (AWStats, Analog, Webalizer,...).

NetIQ AppManager for Apache Server UNIX Management Guide

Ipswitch Client Installation Guide

Sophos Anti-Virus for Linux user manual

Transcription:

! " $#&%')(*+-,/. Before you can do anything else, you need to install Apache. You can download the rpms from some of your regular sites, or from http://download.fedora.redhat.com/pub/ 0 213546+8793;:<%=>3?+-1@ You can also download the Apache source from: (A*+-,/.B73;:<%=C35+-1@ Download the archive from a mirror and expand it using the tar command with the gzip option. This will create a directory named http-... cd to that directory and perform the Linux-install-3-step. 1../configure 2. make 3. make install The problem with this method is that things can go in locations that don t match with the locations assumed by other Fedora packages. This isn t likely to be a big problem, and you can always install other packages from source, so it is your choice. DFE %%#C%')(A*+-,/. Apache services are provided by a daemon. This would normally be accomplished via a startup file in /etc/rc.d.init.d and the appropriate links in the rc.x directories. This is usually done automatically by the install process or the rpm s, so you don t have to do anything other than use chkconfig to specify the desired runlevels and/or service to start the server. Apache comes with another executable named apachectl which can be used to manage the daemon. The syntax is apachectl command where command can be the following: start stop restart fullstatus status graceful configtest Start the Apache daemon. Stops the Apache daemon. Restarts the Apache daemon by sending it a SIGHUP. Displays a full status report. Displays a brief status report. Gracefully restarts the Apache daemon by sending it a SIGUSR1. If the daemon is not run Run a configuration file syntax test. This is considered to be a better solution than the services command because this script is Apache-aware and handles errors and signals in a more appropriate manner.

GH3%JIK' E 4L#&%' (A*+-,M. The normal Red Hat/Fedora location of the configuration files for Apache is /etc/httpd. This directory contains a subdirectory named conf that has the specific configuration files, a directory of configuration files for extensions (conf.d) and there are also links to other directories that contains logs, the run information and modules. For a simple system, the default links are probably acceptable and you are interested only in the files in the conf directory. The conf directory contains several files, but the only one of immediate consequence is httpd.conf. This file contains one directive per line, unless a backslash ( ) is the last character on the line to specify a continuation. Directive syntax is: Directive NPO value QRO, where value can can be a string, a number, a URL, a pathname or just about anything else. Each directive has its own set of possible values. As you can see, the list of Directives is substantial and we will consider only a small portion. The default file is acceptable for most situations and the changes needed require a limited set of directives. The directives can be divided into the following categories: Directive Class Usage General Configuration A hodge-podge of things that don t fit anywhere else and provide features that set the overall behaviour of the server. Block Limit the application of the enclosed directives to a specific set of entities. Logging Control the way in which the server logs. Performance Tuning Determine the parameters the affect the perceived performance of the server. File Typing Set the ways in which the server handle file content. Mapping Set the procedures to be used in mapping addresses and applications. Scripting Set parameters that control the access to CGI scripts and their handling, particularly for debugging. Directory Indexing Determine the handling of the display of directory contents. Access Control Control the access that the browser has to local resources. (A%TSUV+XWY*=CZ. " $*1\[],^3%_ 0 #C=C Discussing the directives in categorical fashion is less than informative until you know something about their use. First, look at an Example httpd.conf. As indicated in the header comments in this file, it is divided into three parts: Global environment for the server, definition of the default server (non-virtual hosts), and definition for virtual hosts.

p `ba]cld;e$afgmh2i]jkc/g;lhmngmo Taking the directives from the example file in order, we see the following settings: The first few directives set some basic functionality for the server: ServerTokens OS Sets the type of information that the server will return if asked by a client. The choices are min for only a name and version number, OS to include the operating system name and full to include information about modules. ServerRoot /etc/httpd The location of the server root directory where the configuration, error and log files are kept. PidFile run/httpd.pid The file where the server pid is stored when it starts. The next few control the handling of individual connections to the server. This includes the length of time the connection is allowed to be idle and the resource balance between opening new connections and keeping connections open. Timeout 300 The timeout period when receives and sends timeout. For example, once a transfer had started, the maximum time in seconds that can expire for the transfer to complete. KeepAlive Off Whether persistent connections are allowed. This can be used to improve performance in responding to repeated requests, but at the expense of higher overhead. The possible values are Off and On. MaxKeepAliveRequests 100 The maximum number of requests to allow on a connection before closing it. Larger numbers improve performance on a connection, but at the expense of higher memory needs. KeepAliveTimeout 15 The time a connection can be idle before it is closed. The next few control the number of child servers that are allowed to run and a limit on the amount of traffic they can handle. One consideration here is that some pinhead could decide to open a connection and then ask for pages as fast as possible to disrupt service. As always, the balance is between response time to the individual user and the overall response time to all users. The directives are enclosed in a block directive. IfModule prefork.c q

p ṗ /IfModule q This causes the included directives to be loaded only if the named module has been included by compiling it in or by dynamic loading. prefork.c may not be the server MPM core module you are using but for a default installation, it is likely. You can find out by executing: apachectl -l To get a list of installed modules. See the next section for more on this. StartServers 8 The number of servers to start when the daemon begins. MinSpareServers 5 The minimum number of spare servers. If the number of idle servers falls below this number, the server creates additional servers. MaxSpareServers 20 The maximum number of spare servers. If the number of idle servers is above this number, the server destroys some. MaxClients 150 The maximum number of simultaneous clients allowed. The limit is 256. MaxRequestsPerChild 1000 The maximum number of requests allowed on a child process before it is closed. The next set of directives are the same, but they are inside of a different Interface Module block: IfModule worker.c q The worker module implements a multi-process, multi-threaded server which is more efficient than the prefork server and would be used if your system has the resources for it. The next set of directives control a third multiprocessing module called the perchild module. This is a non-functional module at this point and can be ignored. The next two directives are fundamental server properties: Listen 80 The port to listen on. This is normally 80 but could be changed for a variety of reasons. You can also specify an IP address if you have a multi-homed host. Include conf.d/*.conf The configuration files to be loaded. This is relative to the Document Root defined earlier.

r The next section loads the desired modules into the server. There is a lengthy list, where each has the syntax: LoadModule pathname of module The pathname is relative to the Document Root and they are always shared library files (ending in the.so suffix). These modules are loaded into the server and constitute a major part of the capabilities. This section is followed by a couple of module loads that are based on the type of multiprocessing being used. In other words, certain modules are loaded depending on other modules that have been loaded. The next directive sets the behavior of the server when a full status request is made by apachectl. The default is to leave this off, but if you are troubleshooting, you might want to turn it on. ExtendedStatus On Report all information for a full status report. e6isgt!mrjuh/mnjbvwcmg^x;ymz2jke{oki]c/g These directives configure the main server which handles all requests not handled by a virtual server. The first set of directives define the running parameters and identification for the server. User apache The server runtime user. Group apache The server runtime group. ServerAdmin root@localhost Email address for reporting server problems. ServerName localhost The DNS name of the host the server is running on. The default is localhost with the 127.0.0.1 address if this is left undefined. UseCanonicalName Off Determines how the server creates self-referencing URLs and variables. If Off, it uses the hostname and port supplied, otherwise it uses the ServerName directive. DocumentRoot /var/www/html The directory which is the root for the served documents tree. Apache allows for directory-by-directory access control and this requires substantial configuration. This is where you are most likely to have problems in a basic configuration. The first set of directives are inside of a Directory Block.

~}/k { { kƒ6 n ˆ Š Œ ƒ/ kž/ $ R R n { Š ~ $ L Žn L R R ~š Š n Lk " œ6 kž$ " }/ " { kƒ6 ~ R " The Directory Block has a name which specifies the directory name relative to the Document Root. The directives inside apply to the given directory and all directories below it in the tree. In this case, the name is the root name, so the directives inside apply to the root directory and all directories below it. Both of these directives have complex capabilities that will be discussed later. Options FollowSymLinks Options indicates that what follows is an option statement, and FollowSymLinks specifies that the server is to follow symbolic links if they exist. AllowOverride None AllowOverride specifies how.htaccess files; None means that the.htaccess files are ignored. All means that all default directives can be overridden in a.htaccess file. The next set of directives defines the access properties of the document root. ~}/k { { kƒ6 n ˆ š{ž $ R R 6 6 n $ R ƒ{ " }/ " { kƒ6 ~ R " Where /var/www/docroot would be your document root. Options Indexes FollowSymLinks Indexes allows the server to display a list of files if there is no index.html file (or equivalent) in the directory. FollowSymLinks it the same as it was before. Allow Override None Do not allow.htaccess files to override default access control. Order deny,allow When evaluating access control, first apply the deny properties and then the allow properties. Allow From All Allow access from any host.

The next set of directives creates a special arrangement for the root directory. It disables autoindex (because it would allow outsiders to collect valuable information about your Document Root directory) and to provide a default error page if there is no index.html page. Š $ n ž ƒ/š kžn ž ƒl u ~ ~ R L u " $ " ž ƒ/š ŽR ž ƒl k $ LocationMatch identies a block that is to be applied if a request for a page matches. In this instance, the match is to the regular expression ~ n which means a name that contains only a beginning, the Document Root name and and end. Options -Indexes Turn off the ability to see a list of files. ErrorDocument 403 /error/noindex.html ErrorDocument indicates what should happen if there is an error. It is followed by the error code to return (403 means not found) and then a URL to display. The next section defines the properties of the User Directory. The Apache server allows for a user directory type to be defined, which includes the name type, location and default access properties. By default, the UserDir capability is disabled to prevent outsiders from using it to identify the presence of usernames on the system, but most systems want it enabled. The userdir service is a module, so this set of directives is included in an IfModule block: $ k Š / Š L Š / ~ " / ~ R Lk " " k L Š L R ~ UserDir disable Present only to disable UserDir functionality. UserDir public html Enable the use of / username/ naming for user directories.

º Access to the user directories is controlled by a block of the form: ~}/k { { kƒ6 n ˆ k L u 6 { nª R n { " }/ " { kƒ6 ~ R " This specifies that user directories are of the form /home/username/www. The directives applied are: AllowOverride FileInfo AuthConfig Limit This specifies that users can override the default access controls with.htaccess files for document types (FileInfo), authorization directives (AuthConfig) and host access (Limit). Options Multiviews Indexes SymLinksIfOwnerMatch IncludesNoExec This specifies that multiple views of content are OK (MultiView), directory listings are allowed (Indexes), symbolic links can be followed only if the owner of the linked file is the same (SymLinksIfOwner- Match) and the #exec commands are disabled but server-side includes are allowed (IncludesNoExec). If access control is allowed, you need to describe the access control, which is accomplished with a Limit block and a LimitExcept block. The difference is that a Limit block limits access for specific HTTP operations, while a LimitExcept block allows access to only specific methods. Therefore, LimitExcept blocks are more restrictive and preferred over Limit blocks. The following block limits the GET, POST and OPTIONS options by specifying that access is allowed only from a single domain. The problem with the Limit block is that it specifies the restrictions on certain operations, but things not mentioned are allowed. Š L«!uƒ Š R 9 ~ R / œ" R R " Š ž R n 5± " Ž" R R R $ k ž R }{ Ž" 9 R $ u ³²µḱ >ņ¹x Ŗº5>¹ " }/ " { kƒ6 ~ R " The following provides the same protection, but it denies everything by default, and so is not susceptible to new, unrecognized or unstated methods. Typically, LimitExcept should be used unless there is some overriding reason.

º Š L«!uƒR n»6 Š Œ ƒb Š R 9 Š R " Š 9 " Ž{ X± ž R R }{ Ž" 9 R $ u ž R R R R $ k >Ŗ¹5 " }/ " { kƒ6 ~ R " R / œ{ R ŖºXC¹ The remainder of the file has a number of simple directives: DirectoryIndex index.html index.html.var homepage.html homepage.htm The default file to serve if a directory is requested. AccessFileName.htaccess Default access control file name. This file needs some control to insure that outsiders can t see the content: Š LŠ { ½¼½ ~ ~¾ nƒ^ R " Š ž R n 5±> " ~Ž" }{ Ž" 9 R $ u ž R " L Š { ~ TypesConfig /etc/mime.types The location of the MIME types file. DefaultType text/plain The default MIME type to use in serving pages. MIME typing uses information from the files themselves to determine type. The MIME magic file location is given by: $ k Š / Š L Š / ~ " «L R žšà ~ M n žšà /Š Š Z kž{ $ u žšà " " k L Š L R HostnameLookups Off When logging server activity, turn of the hostname lookup so only IP addresses are reported.

Á c/yly/isgây Error logging is controlled by two directives ErrorLogs logs/error log Error logging is done under the configuration directory in the logs directory in the file error log. loglevel warn All events of magnitude greater than or equal to this level are reported. The levels are identical to those of syslog. Access logging is very handy to have and it is controlled by: CustomLog logs/access log combined Access logging is done under the configuration directory in the logs directory in the file access log. The combined name is defined in the file like this: $ À 6 ~ ž ƒ) Äà ½Ã6 <Ê ½Ã ƒz¾l ÄÃR $¾/ ÅÃ{ { <à ÆZ¾L «Ã"Ç~È{ Š { Š " Š "É6Š¾L F¾L «Ã"Ç ÊM ~ "Ë RÀ ~Žnƒ{É$Š¾/ R k næm Ž$ You can look this up in the documentation, but it specifies the fields to be output for any entry in the log file. ServerSignature On Cause error pages, ftp directory listings and other displays to have a server signature. IndexingOptions controls the way indexes are displayed. IndexOptions FancyIndexing FoldersFirst VersionSort NameWidth=* FancyIndexing gives a nicer display, FoldersFirst produces the folders before the files, VersionSort specifies how versions should be compared and NameWidth=* allows the filenames to be as long as necessary (an integer value can be used). and other displays to have a server signature.

Ì mníâisjkmnî~oki]cmg One of the features of Apache that is indispensible is redirection or aliasing, which allows you to specify a mapping for a directory name. For example, suppose you have directory containing icons for use by people building web pages on your system at /usr/local/www/icons/. But this is somewhat inconvenient to use, and you might change it to another location. You could solve these problems with: " ž A "R kž/ ½ / $ R n n ž R R R 6 "R kž/ ~}/k { { kƒ6 n ) k k / 6 R R n ž R R R L " kžm 6 Œ ƒ/ kž/ ½ Ž" "»" { <R L ƒmuï/ ~ / R R ~š Š n Lk " œ6 kž$ R " ž n R 5±> { Ž" R R 9 R 6 u ž R }/k { { kƒ6 n " A reference to /icons/ is redirected to /usr/local/www/icons/, so access can be gained with a simple /icon/ pathname rather than the whole string, and the access controls specified. Also, the target directory can be outside of the directory tree. Another choice is the AliasMatch directive " ž u ž ƒl k B " À L ž "ËR Š» Œ " { R "Š kž Œ6ž ƒ RŽ ž 6 which is equivalent to Alias, but makes use of standard regular expressions instead of simple prefix matching. The supplied regular expression is matched against the URLpath, and if it matches, the server will substitute any parenthesized matches into the given string and use it as a filename. For example, to activate the /icons directory, one might use: " ž u ž ƒl k ~ " Ž/ 2Ð ª"Ñ9 k / $ n R n ž n ž Œ$ž k $ " " R kž/ R L maps any reference with /icons at the beginning to the given directory with the parenthesized expression substituted for $. For example, /icons/doodlebug.gif maps to /usr/local/apache/icons/doodlebug.gif. The ScriptAlias directive gives a location for cgi-bin scripts. Having a directory that is given special permissions may be important to avoid security issues. ScriptAlias operation is identical to the Alias directive. For example:

º { L Œ ƒ " ž n À ~Ë ÆM ŽL 8 š{ž $ R R 6 n À Ë ÆMuŽL L The ScriptAliasMatch is identical to AliasMatch, except that it sets a mapping for CGI-bin scripts. { L Œ ƒ " ž u ž ƒ/ u ) ~ n À Ë ÆMuŽ5Ð ªnѽ k / $ n R n ž n ž Œ$ž k $ " n À Ë ÆM ŽM $ To avoid having users running cgi-bin programs that are unprotected, you might do this: { L Œ ƒ " ž u ž ƒ/ u Ò k L k 6 " ÂÐ ªnÑŠ n À Ë ÆM Ž?Ð ªnÑB k / 6 R R n ž R ž Œ$ž u $ " R 6 n À Ë ÆMkŽL R Ó ÎŠcMgÂÔe6gÂÍ<ÕmnÔ ÎŠj i]öâoki]c/g;ô Apache uses icons to represent files and filename extensions and it allows descriptions to be placed in file listings. Those icons are managed by the following directives: AddIconByEncoding (CMP, /icons/compressed.gif) x-compress x-gzip Specifies that x-compress and x-gzip encoded files should be represented by /icons/compressed.gif and CMP is the text representation if the icon is unavailable. AddIconByType (TXT, /icons/text.gif) Specifies that files of type gif should be represented by /icons/text.gif and TXT is the text representation if the icon is unavailable. DefaultIcon /icons/unknown.gif The default icon for files which do not have an icon set. AddDescription GZIP compressed document.gz The given message is displayed for files ending with the.gz suffix. Blah Blah / The given message is displayed for files ending with the.gz suffix. and a whole bunch of other stuff. Blah Blah / The given message is displayed for files ending with the.gz suffix. and a whole bunch of other stuff. r½ó«r fy JØ^Ö-mnÔ fjkjkclj Ì mnô«ö-c/g;ôäm"ô You can configure the server error responses by creating your own versions of the error pages. The normal setup looks like this:

¹ ¹ " ž A Š R $ $ 8 š{ž $ R R 6 Š R $ $ / $ k L Š L F / " Ž6 À ƒ/ ž ƒ/š kž ~ $ k L Š L F / " $už/ k " { ~ ~}/ " { kƒ6 ~ R ) k š{ž $ R R L Š Š R $ ~! R n ~š R Lk " ½œ$ kž$ Œ ƒmš kž/ ½ Ž/ R k " " { œ$ n»" $ R nƒ Œ "ƒn LŠ ƒ$ Š Ò Ž/ R k " " { Ù "ƒš / R RÚ ž Ž" $ Š ƒn Œ në ž Œ½š{ž R { Š ž R R?±> " Ž" R n ½ R $ u ž R ž Ž À žšà Š n LŠ /uƒn ˆ ~Ž½ { Ù " A R $ L ~ Š ž Ž À žšà Š n LŠ /uƒn Z n " Š " 9 ž R kæ ž k " }Mk " { kƒl R " n R 6 }6 n k 6 ŽnƒZÛ ¹R¹ Š Š R $ ~ $ ÚR R n { ŠÜ }$ ~ÈR {Ý Ê{ { ~ {ƒš / š{ž n R 6 }6 n k 6 ŽnƒZÛ Š Š R $ ~ $ ÚR R n { Ê{œ Ê" RÚ ÈM Þ~ R} nƒš / š{ž n R 6 }6 n k 6 ŽnƒZÛ Š Š R $ ~ $ ÚR R n { Š È"ÜL u}r}r "œ nƒš š{ž " " k L Š L R " " k L Š L R It is a nice exercise to try to customize one or more error pages. In order to recognize the error message codes, look at the documentation for HTTP. Á e6gây/z2e$ylmnôe6g;íßvàâe{j e$î~oumrjht!m okô You can specify a languages and character sets for Apache, but there probably isn t much need typically. The pertinent directives are: AddLanguage da.dk Use the MIME language da if a file has an extension of.dk. LanguagePriority en da nl et fr Establish the desired order of languages to use in the case of language negotiation. AddDefaultCharset ISO-8859-1 Set the default character set. á isasm r e$ö;ö;isgây There are a number of special file handling directives. ReadmeName README.html Specifies of a special file to be appended to directory listings if it exists. In other words, it doesn t get sorted HeaderName HEADER.html The name of a file to be prepended to directory listings if it exists. In other words, it doesn t

IndexIgnore.??* * *# HEADER* README* RCS CVS *,v *,t A set of regular expressions describing files that are not to be displayed in listings. In this case, files beginning with., ending in or #, the HEADER and README files, RCS and CVS directories and version files. There are as you can imagine, hundreds of additional directives and combinations of directives, but many of these deal with advanced features. In the following, we will look at some specific applications of the directives, but you are encouraged to look at the manuals and the web for more advanced configurations.