Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > eef56d5d1b7972ef4a2c51ea5be6f6b4 > files > 8

apache-mod_replace-0.1.0-10mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html lang="en">
<head>
 <title>mod_replace: FAQ</title>
 <meta name="description" content="mod_replace frequently asked questions">
 <meta name="keywords" content="mod_replace FAQ docs documentation">
 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
</head>
<body background="#ffffff">
<h1>mod_replace: FAQ</h1>

<b>Q: Does it run on my platform?</b>

<p>
A: I don't know. It has been developed under Linux/i386 and Solaris 8/Sparc. It 
   runs well on these platforms. It has been developed using NO platform 
   specific code (AFAIK). So it should run on all Apache supported platforms. 
   Reports of (un-)successful deployment of <i>mod_replace</i> are always 
   welcome.
</p>

<b>Q: The body replacement works when I use a simple telnet connection to the
   server, but not with a browser. What is wrong?</b>

<p>
A: Your browser most likely sends a "<tt>Accept-Encoding: gzip</tt>" in the 
   HTTP header and the server compresses the response (eg. with
   <i>mod_gzip</i>). Try either to unset the request header entry (
   <i>mod_headers</i> is great for this) or turn  off the compression.
</p>
<p>
   Add the following line:<br><br>

   <tt>RequestHeader unset Accept-Encoding</tt>
</p>

<b>Q: The replacement works OK, but sometimes images or other binaries are
garbled.</b>

<p>
A: Any data that comes from the server is most likely to be passed through your
   filter. Narrow the intype to <tt>text/html</tt>.
</p>

<b>Q: Will there be an Apache 1.3.x version?</b>

<p>
A: No! <i>mod_replace</i> has been developed using Apache 2. The differences 
   between both versions are most likely too big to make it work. If anyone is
   interested in porting the module, he/she is more than welcome.
</p>

<b>Q: My question is not covered here. What should I do?</b>

<p>
A: Send me an email: <a href="mailto:sttesch@users.sourceforge.net">sttesch 
   (at) users (dot) sourceforge (dot) net</a> with complete details, what you 
   are trying to achive, with your configuration (httpd.conf, Apache version, 
   ...) and a description what exactly is not working.
</p>

</body>
</html>