<br><br><div class="gmail_quote">2012/2/6 Brian Sullivan <span dir="ltr"><<a href="mailto:briansullivan@gmail.com">briansullivan@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am attempting to park Zope behind Windows 2008/IIS7 (using its<br>
mod_rewrite function) and seem to be having some difficulty getting it<br>
to work.<br>
<br>
What I want to do is make directory on Zope website look like it is a<br>
directory on an IIS7 website. I seem to be close but missing some<br>
critical element.<br>
<br>
Does anybody have a step by step process for doing this or samples of<br>
rules on IIS7 for doing something similar?<br>
_______________________________________________<br>
Zope maillist - <a href="mailto:Zope@zope.org">Zope@zope.org</a><br>
<a href="https://mail.zope.org/mailman/listinfo/zope" target="_blank">https://mail.zope.org/mailman/listinfo/zope</a><br>
** No cross posts or HTML encoding! **<br>
(Related lists -<br>
<a href="https://mail.zope.org/mailman/listinfo/zope-announce" target="_blank">https://mail.zope.org/mailman/listinfo/zope-announce</a><br>
<a href="https://mail.zope.org/mailman/listinfo/zope-dev" target="_blank">https://mail.zope.org/mailman/listinfo/zope-dev</a> )<br>
</blockquote></div><br>Hi Brian<br><br>I do it using managedfusion-rewriter-3.5. <br>First I add a site that repond only when is called with 'zope-site'.<br>In its directory you will have a web.config file that you'll need to modify.<br>
<br><a href="http://iis7-site:80">http://iis7-site:80</a> -> server by IIS 7 in port 80<br><a href="http://zope-site:80">http://zope-site:80</a> -> server by Zope in port 90<br><br>--<br>--In my web.config:<br>--<br>
<?xml version="1.0" encoding="UTF-8"?><br><configuration><br> <configSections><br> <section name="managedFusion.rewriter" type="ManagedFusion.Rewriter.Configuration.ManagedFusionRewriterSectionGroup"/><br>
</configSections><br> <br> <managedFusion.rewriter xmlns="<a href="http://managedfusion.com/xsd/managedFusion/rewriter">http://managedfusion.com/xsd/managedFusion/rewriter</a>"><br> <rules engine="Apache" /><br>
</managedFusion.rewriter><br><br> <system.webServer><br> <validation validateIntegratedModeConfiguration="false" /><br> <modules runAllManagedModulesForAllRequests="true"><br>
<add name="RewriterModule" type="ManagedFusion.Rewriter.RewriterModule, ManagedFusion.Rewriter" /><br> </modules><br> <handlers><br> <add name="RewriterProxyHandler" preCondition="integratedMode" verb="*" path="RewriterProxy.axd" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /><br>
</handlers><br> <defaultDocument enabled="false" /><br> </system.webServer><br></configuration><br><br><br><br>--<br>--In my ManagedFusion.Rewriter.txt file<br>--<br><br>
RewriteEngine On<br><br>RewriteRule ^/(.*) <a href="http://localhost:90/VirtualHostBase/http/%{SERVER_NAME}:80/control-emisiones/VirtualHostRoot/$1">http://localhost:90/VirtualHostBase/http/%{SERVER_NAME}:80/control-emisiones/VirtualHostRoot/$1</a> [P,QSA,NC]<br>
<br><br>-- <br>________________________________________<br>Lo bueno de vivir un dia mas<br>es saber que nos queda un dia menos de vida<br>