[Zope] Multiple domains from one server process?

Scott Robertson sroberts@codeit.com
Mon, 28 Jun 1999 12:01:38 -0700 (PDT)


On Mon, 28 Jun 1999, Andreas Kostyrka wrote:

> On Mon, 28 Jun 1999, Amos Latteier wrote:
>  
> Nope. The right place is
> probably ZPublisher, as it happens to be the same old game
> that I've done to BoboHTTPServer (running on real host:port, pretending to
> be host:port/dir for Bobo).

hmmm... The problem we're having is say we have the following rewrite
rule:
 
RewriteRule ^/(.*)      /home/zope/Zope.cgi/sub1/$1


_apache_ will rewrite the URL and set PATH_TRANSLATED to:
/home/zope/Zope.cgi/sub1/sub1/<whatever>

Note: the double sub1's.

I do not belive ZPublisher cares about the host portion of the URL.
So if we could only get apache to rewrite the PATH_INFO from the url
properly everything should work.

___________________________________________________
- Scott Robertson             Phone: 714.972.2299 -
- CodeIt Computing            Fax:   714.972.2399 -
-                http://codeit.com                -
---------------------------------------------------