<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://training-course-material.com/index.php?action=history&amp;feed=atom&amp;title=Apache_Modules</id>
	<title>Apache Modules - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://training-course-material.com/index.php?action=history&amp;feed=atom&amp;title=Apache_Modules"/>
	<link rel="alternate" type="text/html" href="https://training-course-material.com/index.php?title=Apache_Modules&amp;action=history"/>
	<updated>2026-05-13T09:38:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://training-course-material.com/index.php?title=Apache_Modules&amp;diff=23959&amp;oldid=prev</id>
		<title>Cesar Chew at 17:47, 24 November 2014</title>
		<link rel="alternate" type="text/html" href="https://training-course-material.com/index.php?title=Apache_Modules&amp;diff=23959&amp;oldid=prev"/>
		<updated>2014-11-24T17:47:36Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Cat|Apache|04}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;slideshow style=&amp;quot;nobleprog&amp;quot; headingmark=&amp;quot;⌘&amp;quot; incmark=&amp;quot;…&amp;quot; scaled=&amp;quot;true&amp;quot; font=&amp;quot;Trebuchet MS&amp;quot; &amp;gt;&lt;br /&gt;
;title: Apache Modules&lt;br /&gt;
;author: Sam Bashton (NobleProg Ltd)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/slideshow&amp;gt;&lt;br /&gt;
=== Apache modules ⌘===&lt;br /&gt;
* RHEL ships with many Apache modules included&lt;br /&gt;
* Almost all are enabled by default&lt;br /&gt;
* This increases memory consumption of each and every Apache process&lt;br /&gt;
=== mod_dav ⌘===&lt;br /&gt;
* WebDav - extension for HTTP that allows users to edit and manage files on remote servers&lt;br /&gt;
=== Configuring webdav ⌘===&lt;br /&gt;
 ```&lt;br /&gt;
 &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
    LimitXMLRequestBody 131072&lt;br /&gt;
    Alias /webdav &amp;quot;/home/httpd/webdav&amp;quot;&lt;br /&gt;
    &amp;lt;Directory /var/www/dav&amp;gt;&lt;br /&gt;
        Dav On&lt;br /&gt;
        Options +Indexes&lt;br /&gt;
        IndexOptions FancyIndexing&lt;br /&gt;
        AddDefaultCharset UTF-8&lt;br /&gt;
    &amp;lt;/Directory&amp;gt;&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 ```&lt;br /&gt;
=== mod_php ⌘===&lt;br /&gt;
* The main reason to run Apache&lt;br /&gt;
* `yum install php`&lt;br /&gt;
=== PHP Options ⌘===&lt;br /&gt;
* Configured via `/etc/php.ini`&lt;br /&gt;
:* `post_max_size` - maximum data size accepted by POST, 8MB by default&lt;br /&gt;
:* `upload_max_filesize` - maximum file size that can be uploaded, 2MB by default&lt;br /&gt;
:* `max_execution_time` - maximum time a PHP script can run&lt;br /&gt;
:* memory_limit - maximum amount of memory a single PHP process can use&lt;br /&gt;
=== mod_security ⌘===&lt;br /&gt;
* Tries to add extra security by blocking requests that look like attacks&lt;br /&gt;
* Questionable how successful it is&lt;br /&gt;
* Can break some applications&lt;br /&gt;
=== EPEL ⌘===&lt;br /&gt;
* http://fedoraproject.org/wiki/EPEL&lt;br /&gt;
* EPEL - Extra Packages for Enterprise Linux&lt;br /&gt;
* Community maintained package repo for RHEL&lt;br /&gt;
* Includes mod_security&lt;br /&gt;
=== Installing mod_security ⌘===&lt;br /&gt;
* Once EPEL has been enabled - `yum install mod_security`&lt;br /&gt;
=== Exercise ⌘===&lt;br /&gt;
:* Enable mod_php&lt;br /&gt;
:* Enable mod_security&lt;/div&gt;</summary>
		<author><name>Cesar Chew</name></author>
	</entry>
</feed>