Re: [Zope] siteaccess, hosting etc, sanity check

2000-10-31 Thread Jonathan Cheyne

Ok, well I got some success by eliminating apache and using the site accesss
example methods and an access rule.

but.

is this a lower performance solution than fronting zope with apache?

Michael Bernstein wrote:

 Jonathan Cheyne wrote:
 
  Ah, no, I though that was if you were doing the virtual hosting in zope
  (as opposed to virtual hosts in httpd.conf or a rewrite)?
 
  I will add one, pronto

 Sorry, I didn't mean to confuse you. If you're using Apache
 Virtual hosting, you don't need an access rule. I thought
 that you might have one that was conflicting.

 One thing that might help you figure this out is to add a
 'debug' DTML Method to your root folder that contains:

 dtml-var REQUEST

 And trying various URLs with /debug tacked on the end to see
 how the HTTP request is being rewritten.

 HTH,

 Michael Bernstein.


___
Zope maillist  -  [EMAIL PROTECTED]
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 )




[Zope] siteaccess, hosting etc, sanity check

2000-10-30 Thread Jonathan Cheyne

Hi all, just a bit further down my vhosting journey ...

got apache ProxyPassing and siteaccess installed but something is
missing.

I type in my vhosted domain www.red.com which (correctly) goes straight
to /red and shows the index_html contents *except* images which show
broken. The source shows that they (correctly) are trying to load from
www.red.com/imagename which is right. This image is in /red along with
the index_html. Also the one link to a dtml document in the /red
directory is also broken.

If I suppress siteaccess then everthing works from the initial
www.red.com but only because the links and images are loading from the
'master site url'. you can click but then the url obviously gives the
game away. so proxypass works.

What I dont get is why I can see the body text in index_html, which lays
out the page but not the image embedded in the page?

my various settings ...

NameVirtualHost 111.222.333.444

VirtualHost 111.222.333.444
  ServerName www.red.com
  ProxyPass / http://www.blue.com:8080/red
  ProxyPassReverse / http://www.blue.com:8080/red
/VirtualHost

then in /red we have a siteroot with the following

title:
base: http://www.red.com
path: /

www.blue.com and www.red.com both point to 111.222.333.444 and the box
also has the www.blue.com as its host name which zope recognises on
start iup.

a bit stuck.

Jonathan




___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] siteaccess, hosting etc, sanity check

2000-10-30 Thread Michael Bernstein

Jonathan Cheyne wrote:

 my various settings ...
 
 NameVirtualHost 111.222.333.444
 
 VirtualHost 111.222.333.444
   ServerName www.red.com
   ProxyPass / http://www.blue.com:8080/red
   ProxyPassReverse / http://www.blue.com:8080/red
 /VirtualHost
 
 then in /red we have a siteroot with the following
 
 title:
 base: http://www.red.com
 path: /

Jonathan,

Do you have an Access Rule set up in your root Zope Folder?

Michael Bernstein.

___
Zope maillist  -  [EMAIL PROTECTED]
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 )