[Zope] mod_rewrite and IIS7

Miguel Beltran R. yourpadre at gmail.com
Thu Feb 9 21:03:55 UTC 2012

2012/2/6 Brian Sullivan <briansullivan at gmail.com>

> I am attempting to park Zope behind Windows 2008/IIS7 (using its
> mod_rewrite function) and seem to be having some difficulty getting it
> to work.
> What I want to do is make directory on Zope website look like it is a
> directory on an IIS7 website. I seem to be close but missing some
> critical element.
> Does anybody have a step by step process for doing this or samples of
> rules on IIS7 for doing something similar?
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> https://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  https://mail.zope.org/mailman/listinfo/zope-announce
>  https://mail.zope.org/mailman/listinfo/zope-dev )

Hi Brian

I do it using managedfusion-rewriter-3.5.
First I add a site that repond only when is called with 'zope-site'.
In its directory you will have a web.config file that you'll need to modify.

http://iis7-site:80  -> server by IIS 7 in port 80
http://zope-site:80  -> server by Zope in port 90

--In my web.config:
<?xml version="1.0" encoding="UTF-8"?>
        <section name="managedFusion.rewriter"

    <managedFusion.rewriter xmlns="
        <rules engine="Apache" />

        <validation validateIntegratedModeConfiguration="false" />
        <modules runAllManagedModulesForAllRequests="true">
            <add name="RewriterModule"
type="ManagedFusion.Rewriter.RewriterModule, ManagedFusion.Rewriter" />
            <add name="RewriterProxyHandler" preCondition="integratedMode"
verb="*" path="RewriterProxy.axd" type="System.Web.HttpForbiddenHandler,
System.Web, Version=, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a" />
        <defaultDocument enabled="false" />

--In my ManagedFusion.Rewriter.txt file

RewriteEngine On

RewriteRule ^/(.*)

Lo bueno de vivir un dia mas
es saber que nos queda un dia menos de vida
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.zope.org/pipermail/zope/attachments/20120209/f8ac94c4/attachment.html>

More information about the Zope mailing list