Re: [Zope] mod_rewrite and IIS7

2012-02-09 Thread Miguel Beltran R.
2012/2/6 Brian Sullivan 

> 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@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:
--






http://managedfusion.com/xsd/managedFusion/rewriter";>

















--
--In my ManagedFusion.Rewriter.txt file
--

RewriteEngine On

RewriteRule ^/(.*)
http://localhost:90/VirtualHostBase/http/%{SERVER_NAME}:80/control-emisiones/VirtualHostRoot/$1[P,QSA,NC]


-- 

Lo bueno de vivir un dia mas
es saber que nos queda un dia menos de vida
___
Zope maillist  -  Zope@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 )


[Zope] mod_rewrite and IIS7

2012-02-06 Thread Brian Sullivan
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@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 )