[Zope] zope and mod_rewrite

jacob walcik jwalcik@notwithstanding.org
Thu, 31 May 2001 10:30:37 -0500 (CDT)


it's still doing the same thing w/ the [P] on the end of the rewrite rule.
when i access the virtualhost, i'm prompted to login, then it forwards me
to the management screen for "/utilities".  i'm almost positive there's
something very simple that i've screwed up, i'm just not sure what it is.



--
jacob walcik
jwalcik@notwithstanding.org

On Thu, 31 May 2001, Oleg Broytmann wrote:

> On Thu, 31 May 2001, jacob walcik wrote:
> > i was under the impression that you could, as long as a valid service
> > was answering on that port.  in the VirtualHostMonster i've created, it
> > says:
> > If your Zope is running on port 8080, and you want generated URLs not to
> > include this port number, you must use > >
"/VirtualHostBase/http/www.foo.com:80".
> >
> > i have zope running on 8080, and i'd prefer to not have the port in the
> > url.  if i've interpretted this incorrectly, please let me know.
> 
>    No, I meant different problem. You are rewriting from Aapche (running on
> port 80) to localhost:8080. This AFAIK requires proxy ([P] flag to the
> RewriteRule).
> 
> > > > RewriteRule ^/(.*)
> > > > http://localhost:8080/VirtualHostBase/http/utilities.iensemble.com:80/utilities/VirtualHostRoot/$1
> > >
> > >    I am not sure whether you can rewrite URL to a different port. At
> > > least, without proxy flag.
> 
> Oleg.
> ----
>      Oleg Broytmann     http://www.zope.org/Members/phd/     phd@phd.pp.ru
>            Programmers don't die, they just GOSUB without RETURN.
>