Sophie

Sophie

distrib > Mandriva > 9.2 > i586 > media > contrib > by-pkgid > dcb99369305ede543dfec65360493334 > files > 29

apache2-mod_parmguard-2.0.47_1.1-1mdk.i586.rpm

<html>
<head>
<title>Documentation</title>
<meta http-equiv="Content-Type" content="text/html;">
<link rel="stylesheet" href="style5.css" type="text/css">
</head>
<body bgcolor="#ffffff">
<table border="0" cellpadding="0" cellspacing="0" width="700">
<!-- fwtable fwsrc="mod_benchmark-manual.png" fwbase="template1.gif" fwstyle="Dreamweaver" fwdocid = "742308039" fwnested="0" -->
  <tr>
   <td><img src="images/spacer.gif" width="44" height="1" border="0"></td>
   <td><img src="images/spacer.gif" width="527" height="1" border="0"></td>
   <td><img src="images/spacer.gif" width="122" height="1" border="0"></td>
   <td><img src="images/spacer.gif" width="5" height="1" border="0"></td>
   <td><img src="images/spacer.gif" width="2" height="1" border="0"></td>
   <td><img src="images/spacer.gif" width="1" height="1" border="0"></td>
  </tr>

  <tr>
   <td colspan="5"><img name="template1_r1_c1" src="images/template1_r1_c1.gif" width="700" height="21" border="0"></td>
   <td><img src="images/spacer.gif" width="1" height="21" border="0"></td>
  </tr>
  <tr>
   <td rowspan="4" colspan="2"><img name="template1_r2_c1" src="images/template1_r2_c1.gif" width="571" height="61" border="0"></td>
   <td><a href="http://www.trickytools.com"><img name="template1_r2_c3" src="images/template1_r2_c3.gif" width="122" height="22" border="0"></a></td>
   <td rowspan="4" colspan="2"><img name="template1_r2_c4" src="images/template1_r2_c4.gif" width="7" height="61" border="0"></td>
   <td><img src="images/spacer.gif" width="1" height="22" border="0"></td>
  </tr>
  <tr>
   <td><img name="template1_r3_c3" src="images/template1_r3_c3.gif" width="122" height="4" border="0"></td>
   <td><img src="images/spacer.gif" width="1" height="4" border="0"></td>
  </tr>
  <tr>
   <td><a href="mailto:contact@trickytools.com"><img name="template1_r4_c3" src="images/template1_r4_c3.gif" width="122" height="22" border="0"></a></td>
   <td><img src="images/spacer.gif" width="1" height="22" border="0"></td>
  </tr>
  <tr>
   <td><img name="template1_r5_c3" src="images/template1_r5_c3.gif" width="122" height="13" border="0"></td>
   <td><img src="images/spacer.gif" width="1" height="13" border="0"></td>
  </tr>
  <tr>
   <td background="images/template1_r6_c1.gif" width="44" height="418" border="0"></td>
   <td colspan="4" valign=top>   
 
   <table width=100% border=0>
   <tr><td><h1>Installation</h1></td><td valign=top><img src="images/puce1.gif"><a href="intro.html">&nbsp;Top</a></td></tr>
   </table>
 
<p class=texte3><img src="images/puce1.gif">&nbsp;Step 1: Compilation</p>
<ul>
<li class=texte2>
Get the latest <b>mod_parmguard</b> archive and expand it under
a directory (for example /usr/local/) with the commands<br><br>
<p class=texte6>
# cd /usr/local<br>
# tar xvfz mod_parmguard-1.1.tar.gz<br>
# cd mod_parmguard-1.1<br>
</p>
</li>
<li class=texte2>
Run <span class=texte6>./configure</span> with at least one of these options:<br>
<p class=texte6>
--with-apxs=[path to apxs]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(for Apache 1.x) or<br>
--with-apxs2=[path to apxs]&nbsp;&nbsp;&nbsp;&nbsp;(for Apache 2.x)<br>
</p>
If the include files for the <span class=texte6>libxml2</span> library are not installed in one of 
the standard directories, you must add the following directives:
<p class=texte6>
--with-libxml2dir=[dir]&nbsp;&nbsp;&nbsp;&nbsp;(default=/usr/include/libxml2)<br>
</p>
<span style='font-weight: bold;'>Example:</span><br>
<p class=texte6>
./configure \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--with-libxml2dir=/usr/local/include/libxml2 \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--with-apxs=/usr/sbin/apxs<br>
</p>
</li>
<li class=texte2>
Run <span class=texte6>make</span> 
</li>
<li class=texte2>
Run <span class=texte6>make install</span><br>
<br>
apxs will copy the module <span class=texte6>mod_parmguard.so</span> under the Apache module directory.<br>&nbsp;
</li>
<li class=texte2>
Add the following directives in the Apache Server Configuration File:
<p class=texte6>
# for Apache 1.x:<br>
LoadModule benchmark_module modules/mod_benchmark.so<br>
AddModule mod_benchmark.c<br><br>
# for Apache 2.x:<br>
LoadModule benchmark_module libexec/mod_benchmark.so<br>
</p>
</li>
<li class=texte2>
For safety reason, check and adjust the owner and group name of the newly added 
<span class=texte6>mod_parmguard.*</span> files copied under the Apache "libexec" or "modules" directory.
</li>
</ul>

<p class=texte3><img src="images/puce1.gif">&nbsp;Step 2: Apache Server Configuration</p>
<p class=texte2>
<ul>
<li class=texte2>
Configure the Apache Server as explained in the <a href="configuration.html">Configuration</a> document.<br>&nbsp;
</li>
<li class=texte2>
Restart Apache:<br>
<span class=texte6># /etc/init.d/httpd restart</span><br><br>
If the server does not restart successfully, the error message should be explanatory:<br>
it's probably due to a mispelled configuration directive or a syntax error in the XML Configuration File.<br>
If you get no error, you can activate the <span class=texte6>ParmguardTrace debug</span> directive.<br>
<br>
If it does not help, please make sure the "libxml2.so" library is in a standard Path. If not, set the good
value to the <span class=texte6>LDFLAGS</span> environment variable and recompile the module.
</li>
</ul> 
 
 
   
   </td>
   <td><img src="spacer.gif" width="1" height="418" border="0"></td>
  </tr>
  <tr>
   <td colspan="6" valign=top align=right class=texte1>
	<hr color="#FFBB00" width=640 size=1>
	<a href="http://www.trickytools.com">www.trickytools.com</a>
	</td>
  </tr>
</table>
</body>
</html>