<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hallo,<br>
bei der Entwicklung des OWS-Proxys haben wir das Modul mod_alias des
Apache eingesetzt um mit Hilfe eines eined regul&auml;ren Ausdrucks die
beiden md5-hashes aus der URL in die CGI-Parameter zu verschieben
(siehe hierzu auch:
<a class="moz-txt-link-freetext" href="http://www.mapbender.org/index.php/Owsproxy#Apache_Konfiguration">http://www.mapbender.org/index.php/Owsproxy#Apache_Konfiguration</a>). <br>
<br>
IIRC konnten wir das gew&uuml;nschte pattern-matching auf die Zeichenklasse
"[^i]" (= beliebiges Zeichen ausser "i") nur mit der RegEx-Maschine des
Apache 2 hinbekommen und ich meine mich zu erinnern, dass der Apache
1.3 an dieser Stelle mit einem Fehler abgebrochen hatte.<br>
<br>
Hi,<br>
we used a regular expression of the apache mod_alias module to move the
two md5-hashes of the OWSProxy request-URL into the cgi-parameters of
the actual service request (see also:
<a class="moz-txt-link-freetext" href="http://www.mapbender.org/index.php/Owsproxy#Apache_Konfiguration">http://www.mapbender.org/index.php/Owsproxy#Apache_Konfiguration</a>) . You
may see there the character-class "[^i]" (that means `any character
except "i"`) that we were only able to use with an apache 2.x-server
and iirc apache 1.3 stopped at this point with an error. The meaning of
this character-class at this point is to prevent apache to run into the
loop to replace "index.php" by itself endlessly (although apache
catches this it s still an error). Since md5 is a hex-based string, an
"i" at this point could only occur if the md5-hashes have already been
moved to the cgi-parameters-section of the real service-request - then
the RegEx doesn't match any more adn the request is beeing sent to the
service.<br>
<br>
Mit freundlichen Gr&uuml;&szlig;en / Kind regards,<br>
Peter K&ouml;nig<br>
<br>
Sch&ouml;nhammer, Herbert schrieb:
<blockquote
 cite="mid22A5B28BED748F46B128ACE1C39FDD1502784E5B@mail01.Regensburg.de"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta name="Generator"
 content="MS Exchange Server version 6.5.7233.28">
  <title>Apache Version&gt;=2.0 bei Nutzung des ows_secuirty_proxy (MB
2.4) zwingend ben&ouml;tigt ?</title>
<!-- Converted from text/rtf format -->
  <p><font face="Arial" size="2">Hallo Liste,</font>
  </p>
  <p><font face="Arial" size="2">auf </font><a
 href="http://www.mapbender.org/index.php/Mapbender_Security_Proxy"><u><font
 color="#0000ff" face="Arial" size="2">http://www.mapbender.org/index.php/Mapbender_Security_Proxy</font></u></a><font
 face="Arial" size="2"> steht als Voraussetzung zur Nutzung des
ows_security_proxy der MB version 2.4, dass eine Apache Version
&gt;=2.0 ben&ouml;tigt wird. </font></p>
  <p><font face="Arial" size="2">Weiss jemand, ob dies zwingende
Voraussetzung ist ?</font>
  <br>
  <font face="Arial" size="2">Welche Teile gehen bei Verwendung einer
niedrigeren Apache-Version (z.B. 1.3.29) nicht ?</font>
  </p>
  <br>
  <p><font face="Arial" size="2">I try in english:</font>
  <br>
  <font face="Arial" size="2">Looking at </font><a
 href="http://www.mapbender.org/index.php/Mapbender_Security_Proxy"><u><font
 color="#0000ff" face="Arial" size="2">http://www.mapbender.org/index.php/Mapbender_Security_Proxy</font></u></a><font
 face="Arial" size="2"> , you may read, that a Apache Version &gt;= 2.0
is needed for using the mapbender ows_security_proxy.</font></p>
  <p><font face="Arial" size="2">Is Apache v 2.0 mandatory ?</font>
  <br>
  <font face="Arial" size="2">Which part of ows_security_proxy need
this version, which don't need this version ?</font>
  </p>
  <br>
  <p><font face="Arial" size="2">Mit freundlichen Gr&uuml;&szlig;en und Danke f&uuml;r
die Antwort</font>
  </p>
  <p><b><font face="Arial">Sch&ouml;nhammer Herbert</font></b>
  </p>
</blockquote>
</body>
</html>