hello all, is it possible to virtual hosting only with Zope eliminating Apache alltogether?. ismet
Ismet, First off, please dont post to newsgroups in HTML. Majority of us here use text mail editors. It is very possible to use on ZServer for HTTP. Simply configure your Zope by editing the z2.py file to the proper HTTP_PORT. The default is 80 for a website and Zope is installed to 8080 by default. Just look for that line after the 3 pages of comments and change to 80, start Zope and youre finished. Success, Paz -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Ismet Dere Sent: Friday, July 27, 2001 1:52 AM To: Zope Mailingliste Subject: [Zope] zope without apache. hello all, is it possible to virtual hosting only with Zope eliminating Apache alltogether?. ismet
Probably the best way without changing the source is to use: python z2.py -X -w 80 You may want to add other flags for the other bits you may need , FTP/Monitor for example. ----- Original Message ----- From: "Paul Zwarts" <paz@www2.oratrix.nl> To: "Ismet Dere" <ismet@fiducia-china.com> Cc: "Zope" <zope@zope.org> Sent: Thursday, July 26, 2001 10:10 AM Subject: RE: [Zope] zope without apache.
Ismet,
First off, please dont post to newsgroups in HTML. Majority of us here use text mail editors.
It is very possible to use on ZServer for HTTP. Simply configure your Zope by editing the z2.py file to the proper HTTP_PORT. The default is 80 for a website and Zope is installed to 8080 by default. Just look for that line after the 3 pages of comments and change to 80, start Zope and youre finished.
Success, Paz
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Ismet Dere Sent: Friday, July 27, 2001 1:52 AM To: Zope Mailingliste Subject: [Zope] zope without apache.
hello all,
is it possible to virtual hosting only with Zope eliminating Apache alltogether?.
ismet
_______________________________________________ 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 )
hi Phil, Paul, thank you for replying, when zope started as ./start -w 80 works fine for a single site, but howto do for multiple sites? regards :) ismet | Probably the best way without changing the source is to use: | | python z2.py -X -w 80 | | You may want to add other flags for the other bits you may need , | FTP/Monitor for example. |
Ismet, You;re getting into a huge ball of string now.... You will need to study up on Virtual Hosting. What you want to do NEEDS something like apache though. Consider this: WITHOUT a front-end webserver, you can have as many Zope installations (seperatley installed on same machine) , using different ports. 80, 8080, 8085, 8090, etc WITH Apache, you can configure apache to translate an incoming domain name or path to a particular zope server: in http://yoursite.com/first -> zope on port 80 in http://yoursite.com/second -> zope on port 8080 But as I said you hae to have front end for this... I think... Perhaps Phil will be kind to confirm this.... Can SiteAccess go that far with just ZServer? Paz -----Original Message----- From: Ismet Dere [mailto:ismet@fiducia-china.com] Sent: Friday, July 27, 2001 3:04 AM To: Phil Harris; Paul Zwarts Cc: Zope Subject: Re: [Zope] zope without apache. hi Phil, Paul, thank you for replying, when zope started as ./start -w 80 works fine for a single site, but howto do for multiple sites? regards :) ismet | Probably the best way without changing the source is to use: | | python z2.py -X -w 80 | | You may want to add other flags for the other bits you may need , | FTP/Monitor for example. |
Ismet,
You;re getting into a huge ball of string now.... You will need to study up on Virtual Hosting. What you want to do NEEDS something like apache though.
Consider this:
WITHOUT a front-end webserver, you can have as many Zope installations (seperatley installed on same machine) , using different ports. 80, 8080, 8085, 8090, etc
WITH Apache, you can configure apache to translate an incoming domain name or path to a particular zope server:
in http://yoursite.com/first -> zope on port 80 in http://yoursite.com/second -> zope on port 8080
But as I said you hae to have front end for this... I think... Perhaps Phil will be kind to confirm this.... Can SiteAccess go that far with just ZServer?
As others already said: Zope can also translate incoming domain names to different sites... so apache is NOT NEEDED. Reinoud
Paul/Ismet, If I were doing this I'd use Apache or Squid. But it does seem to be possible to do this with pure ZServer and SiteAccess. There are some how-tos on Zope.org (http://www.zope.org/Members/jdavid/MultilingualSiteAccess) that may help. hth Phil ----- Original Message ----- From: "Paul Zwarts" <paz@www2.oratrix.nl> To: "Ismet Dere" <ismet@fiducia-china.com> Cc: "Zope" <zope@zope.org> Sent: Thursday, July 26, 2001 11:12 AM Subject: RE: [Zope] zope without apache.
Ismet,
You;re getting into a huge ball of string now.... You will need to study up on Virtual Hosting. What you want to do NEEDS something like apache though.
Consider this:
WITHOUT a front-end webserver, you can have as many Zope installations (seperatley installed on same machine) , using different ports. 80, 8080, 8085, 8090, etc
WITH Apache, you can configure apache to translate an incoming domain name or path to a particular zope server:
in http://yoursite.com/first -> zope on port 80 in http://yoursite.com/second -> zope on port 8080
But as I said you hae to have front end for this... I think... Perhaps Phil will be kind to confirm this.... Can SiteAccess go that far with just ZServer?
Paz
-----Original Message----- From: Ismet Dere [mailto:ismet@fiducia-china.com] Sent: Friday, July 27, 2001 3:04 AM To: Phil Harris; Paul Zwarts Cc: Zope Subject: Re: [Zope] zope without apache.
hi Phil, Paul, thank you for replying,
when zope started as ./start -w 80 works fine for a single site, but howto do for multiple sites?
regards :) ismet
| Probably the best way without changing the source is to use: | | python z2.py -X -w 80 | | You may want to add other flags for the other bits you may need , | FTP/Monitor for example. |
_______________________________________________ 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 )
hi, :) the reason i'm trying to skip the apache is, zope is slower with apache (proxypass/rewrite) - or am i missing something? regards ismet
Maybe right, but the advantages outway any performance issues. ----- Original Message ----- From: "Ismet Dere" <ismet@fiducia-china.com> To: "Phil Harris" <phil.harris@zope.co.uk>; "Paul Zwarts" <paz@www2.oratrix.nl> Cc: "Zope" <zope@zope.org> Sent: Friday, July 27, 2001 2:25 AM Subject: Re: [Zope] zope without apache.
hi, :)
the reason i'm trying to skip the apache is, zope is slower with apache (proxypass/rewrite) - or am i missing something?
regards ismet
On Thu, 26 Jul 2001 11:31:54 +0100, "Phil Harris" <phil.harris@zope.co.uk> wrote:
the reason i'm trying to skip the apache is, zope is slower with apache (proxypass/rewrite) - or am i missing something?
Yes, apache isnt the fastest proxy. Squid has a much lower overhead. Plus with a minimal effort on setting up caching headers (possibly for free, depending on your site) the fact that your proxy can handle some requests without involving Zope can lead to an overall performance gain.
Maybe right, but the advantages outway any performance issues.
Indeed. Particularly because ZServer's http implementation looks like it may have some denial-of-service vulnerabilities at the http layer. That problem simply goes away, because squid or apache can sanitize the http conversation before it gets to Zope. Toby Dickenson tdickenson@geminidataloggers.com
Ismet, As Bill said there are howtos on the Zope.org site. To get you started try looking at the SiteAccess documentation which should be with the Zope installation you are using. Try clicking the help link on any page in the Zope Management Interface (ZMI). hth Phil ----- Original Message ----- From: "Ismet Dere" <ismet@fiducia-china.com> To: "Phil Harris" <phil.harris@zope.co.uk>; "Paul Zwarts" <paz@www2.oratrix.nl> Cc: "Zope" <zope@zope.org> Sent: Friday, July 27, 2001 2:04 AM Subject: Re: [Zope] zope without apache.
hi Phil, Paul, thank you for replying,
when zope started as ./start -w 80 works fine for a single site, but howto do for multiple sites?
regards :) ismet
| Probably the best way without changing the source is to use: | | python z2.py -X -w 80 | | You may want to add other flags for the other bits you may need , | FTP/Monitor for example. |
On Thu, 26 Jul 2001 16:51:34 -0700, "Ismet Dere" <ismet@fiducia-china.com> wrote:
is it possible to virtual hosting only with Zope
not currently
eliminating Apache alltogether?.
It doesnt have to be Apache. I prefer Squid, but it is doing the same job. (Note there are other good reasons for using a front-end proxy if your server is exposed to the raw internet) Toby Dickenson tdickenson@geminidataloggers.com
On 26 Jul 2001 10:14:33 +0100, Toby Dickenson wrote:
On Thu, 26 Jul 2001 16:51:34 -0700, "Ismet Dere" <ismet@fiducia-china.com> wrote:
is it possible to virtual hosting only with Zope
not currently
Excuse me, Toby, but you can not be more wrong. I've been doing it for months. There are how-to's on Zope.org for it. SiteAccess can do it for you. Bill
On 26 Jul 2001 03:22:27 -0600, Bill Anderson <bill@immosys.com> wrote:
On 26 Jul 2001 10:14:33 +0100, Toby Dickenson wrote:
On Thu, 26 Jul 2001 16:51:34 -0700, "Ismet Dere" <ismet@fiducia-china.com> wrote:
is it possible to virtual hosting only with Zope
not currently
Excuse me, Toby, but you can not be more wrong.
Yes, of course. Sorry for the misinformation. (and thanks for the tip Bill) Toby Dickenson tdickenson@geminidataloggers.com
first of all, thank you for replying, i'm able to start zope ./start -w 80 and that works ok for 1 site but then how would you host several sites in it? ismet ------------- | > >is it possible to virtual hosting only with Zope | > | > not currently | | Excuse me, Toby, but you can not be more wrong. I've been doing it for | months. | There are how-to's on Zope.org for it. SiteAccess can do it for you. | | Bill
On 26 Jul 2001 17:50:27 -0700, Ismet Dere wrote:
first of all, thank you for replying,
i'm able to start zope ./start -w 80 and that works ok for 1 site but then how would you host several sites in it?
On http://www.zope.org there are numerous how-tos dealing with it. You can do a search on SiteAccess, to find a very nice howto (IIRC, it is by '4am', sorry if I get it wrong) Bill
participants (7)
-
Bill Anderson -
Bill Anderson -
Ismet Dere -
Paul Zwarts -
Phil Harris -
Reinoud van Leeuwen -
Toby Dickenson