ZOPE on an existing web server - possible?
hi! We already have an apache web server running on linux with PHP. I was wondering if i can install ZOPE there. kinda like having 2 web servers? is that possible? am i making sense? Thanks!!! mike __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com
You can run N instances of Zope on your server as long as you have enough port numbers, diskspace and memory. But you can not run *two* Zopes on the *same* IP and *same* port. Maybe checkout the Zope Book for informations on Virtual Hosting -aj --On Mittwoch, 14. Mai 2003 20:46 Uhr -0700 "michael.taÒag" <almightymike@yahoo.com> wrote:
hi!
We already have an apache web server running on linux with PHP. I was wondering if i can install ZOPE there. kinda like having 2 web servers? is that possible? am i making sense?
Thanks!!!
mike
__________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
We already have an apache web server running on linux with PHP. I was wondering if i can install ZOPE there. kinda like having 2 web servers? is that possible? am i making sense?
You can have Zope on it's default port 8080 and Apache on port 80 (defaut too) and this setup will work out of box. Or you can configure PCGI (see zope docs) and have Zope on one virtual site (or even site subdirectory) and PHP on other. Using different ports and PCGI you can even have several Zope versions running on different sites through Apache, i think...
[Sergey Volobuev wrote (zopemail@pv.leased.redcom.ru) on 5/15/03 2:44 AM]
You can have Zope on it's default port 8080 and Apache on port 80 (defaut too) and this setup will work out of box. Or you can configure PCGI (see zope docs) and have Zope on one virtual site (or even site subdirectory) and PHP on other.
Using different ports and PCGI you can even have several Zope versions running on different sites through Apache, i think...
actuallyI would recommened against PCGI .But you can run your first zope on port 8080, the second on 8081 etc and then set up a VirtualHost in Apache for each one and use rewrite rules to connect apache and zope. hth :) <--> george donnelly - http://www.zettai.net/ - "We Love Newbies" :) Zope Hosting - Dynamic Website Design - Search Engine Promotion Yahoo, AIM: zettainet - MSN: zettainet@hotmail.com - ICQ: 51907738
--On Donnerstag, 15. Mai 2003 9:46 Uhr -0400 george donnelly <list@zettai.net> wrote:
[Sergey Volobuev wrote (zopemail@pv.leased.redcom.ru) on 5/15/03 2:44 AM]
You can have Zope on it's default port 8080 and Apache on port 80 (defaut too) and this setup will work out of box. Or you can configure PCGI (see zope docs) and have Zope on one virtual site (or even site subdirectory) and PHP on other.
Using different ports and PCGI you can even have several Zope versions running on different sites through Apache, i think...
actuallyI would recommened against PCGI .But you can run your first zope on port 8080, the second on 8081 etc and then set up a VirtualHost in Apache for each one and use rewrite rules to connect apache and zope.
FastCGI and PCGI support should never be mentioned again :-)...since it seems to be mostly deprecated and unmaintained. -aj
[Sergey Volobuev wrote (zope@phpv.khv.ru) on 5/15/03 9:57 AM]
FastCGI and PCGI support should never be mentioned again :-)...since it seems to be mostly deprecated and unmaintained.
And what alternatives do we have?
as i mentioned:
... use rewrite rules to connect apache and zope.
<--> george donnelly - http://www.zettai.net/ - "We Love Newbies" :) Zope Hosting - Dynamic Website Design - Search Engine Promotion Yahoo, AIM: zettainet - MSN: zettainet@hotmail.com - ICQ: 51907738
george donnelly wrote:
... use rewrite rules to connect apache and zope.
You typically use RewriteRules even when you use CGI. ;) But yes, in most cases CGI is the useless part here, it's easier to use the Apache proxy, and use RewriteRules with proxy or ProxyPass. It saves you from starting the PCGI wrapper.
Andreas Jung wrote:
FastCGI and PCGI support should never be mentioned again :-)...since it seems to be mostly deprecated and unmaintained.
I have one situation that requires it, namely when you use Apache + SSL certificates to authorize users. So it is fairly obscure. It it worth mentioning that you don't need the mod_cgi security patch for that, just the Zope.cgi wrapper.
hi!
We already have an apache web server running on linux with PHP. I was wondering if i can install ZOPE there. kinda like having 2 web servers? is that possible? am i making sense?
Thanks!!!
I'm not actually going to answer your question, since others already have. Instead, I'll take the opportunity to address the whole range of questions about how Zope relates to other similar programs. I hope everybody who finds this tedious will forgive me. [I would put a smiley face here if I used emoticons.] Unlike PHP, CGI, or mod_perl, Zope doesn't need to run under any other program. In fact, in most cases it shouldn't. Zope is a standalone program with the ability to act as a webserver. It can quite happily do its job on a computer that's never been within a hundred miles of Apache or an other webserver. It can't run Apache modules or anything similar: the Zope webserver's job is to publish Zope objects, and it does little else. Although Zope can act as a webserver, it's a good idea to not expose it to a hostile network, and let another program which is better at that (like Apache) run alongside and act as a rewriter/proxy/whatever. So you leave Zope on port 8080 (which makes installation in Unix easier) and let Apache* take port 80 and rewrite/proxy incoming requests to Zope. This procedure is discussed all the time on the lists. That Apache can also serve up static and Apache-driven pages, like PHP, right alongside. Not only is this easy, it's also common and a good idea. Zope can run under PCGI or some such, but except for the few cases where that's needed, it should be considered a Bad Idea. * or any other web server that can rewrite/redirect/proxy/map/whatever. --jcc
participants (7)
-
Andreas Jung -
george donnelly -
J Cameron Cooper -
Lennart Regebro -
michael.ta�ag -
Sergey Volobuev -
Sergey Volobuev