[Zope] Strange Apache/ZServer Proxy Problem

Ben Ocean zope@thewebsons.com
Tue, 27 Nov 2001 14:34:42 -0800


At 03:35 PM 11/27/01 +0000, you wrote:
>Is it just me being silly or haven't you just defined two IP number based 
>virtual hosts with the same IP number and both on port 80. I'm not sure of 
>the effect this will have but might that be confusing Apache? Also, why 
>the // embedded in the ProxyPass directive destination paths?

If one of us is silly, it's probably this greenie ;)
Notice the distinction in *ServerName*: I sort *www1* to Apache and 
everything else to Zope. Is there a better way to do this?
TIA,
BenO


>At 06:45 27/11/2001 -0800, Ben Ocean wrote:
>>Hi;
>>I have the following code in my httpd.conf file:
>>
>><VirtualHost 216.145.1.127>
>>ServerAdmin webmaster@constructioncalc.com
>>DocumentRoot /apache/vhosts/constructioncalc
>>ServerName www1.constructioncalc.com
>>ErrorLog /apache/vhosts/constructioncalc/logs/error.log
>>TransferLog /apache/vhosts/constructioncalc/logs/access.log
>>CustomLog /apache/vhosts/constructioncalc/logs/referer.log referer
>>CustomLog /apache/vhosts/constructioncalc/logs/agent.log agent
>>ErrorDocument 401 /errors/401.html
>>ErrorDocument 403 /errors/403.html
>>ErrorDocument 404 /errors/404.html
>>ErrorDocument 500 /errors/500.html
>>Alias /icons/ /apache/vhosts/icons/
>>ScriptAlias /cgi-bin/ /apache/cgi-bin/constructioncalc/
>></VirtualHost>
>>
>><VirtualHost 216.145.1.127>
>>ServerAdmin webmaster@constructioncalc.com
>>ServerName www.constructioncalc.com
>>ServerAlias constructioncalc.com # *.constructioncalc.com
>>ErrorDocument 401 /errors/401.html
>>ErrorDocument 403 /errors/403.html
>>ErrorDocument 500 /errors/500.html
>>ErrorDocument 404 /errors/403.html
>>Alias /icons/ /apache/vhosts/icons/
>>ProxyPass / http://thewebsons.com:8080//constructioncalc/
>>ProxyPassReverse / http://thewebsons.com:8080//constructioncalc/
>>ProxyPass /misc_ http://thewebsons.com:8080/constructioncalc/misc_
>>ProxyPass /p_ http://thewebsons.com:8080/p_
>></VirtualHost>
>>
>>But for some reason, when I'm in the first section (www1) that goes to a 
>>directory outside of the Zope environment and click a link that is either 
>>a relative or an absolute link, sometimes it will try to resolve it in 
>>Zope! How do I overcome this problem?
>>TIA,
>>BenO
>
>
>_______________________________________________
>Zope maillist  -  Zope@zope.org
>http://lists.zope.org/mailman/listinfo/zope
>**   No cross posts or HTML encoding!  **
>(Related lists - http://lists.zope.org/mailman/listinfo/zope-announce
>http://lists.zope.org/mailman/listinfo/zope-dev )