Httpd Module Compilation: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * httpd Operations =mod_expires compilation= In order for a .so module to be generated, httpd must be compiled with {{--enable-so}}...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


* [[httpd Operations#Subjects|httpd Operations]]
* [[httpd Operations#Subjects|httpd Operations]]
* [[Httpd_Modules#Module_Compilation|httpd Modules]]


=mod_expires compilation=
=mod_expires compilation=


In order for a .so module to be generated, httpd must be compiled with {{--enable-so}} and {{--enable-expires=shared}}:
In order for a .so module to be generated, httpd must be compiled with <tt>--enable-so</tt> and <tt>--enable-expires=shared</tt>:


<pre>
<pre>

Latest revision as of 18:39, 5 January 2017

Internal

mod_expires compilation

In order for a .so module to be generated, httpd must be compiled with --enable-so and --enable-expires=shared:

./configure --enable-so --enable-expires=shared
cd .../httpd-2.2.17
apxs -c modules/metadata/mod_expires.c

Module compilation and installation

apxs -a -i -c ./modules/proxy/mod_proxy.c ./modules/proxy/proxy_util.c