RE: [Zope] newbie troubles--apache/zope behind firewall
What you need is this: Firewall with port forwarding Zope with a vhm You may want: Apache - some claim it is more robust at serving web pages than zopes http server Without Apache: Setup your firewall to forward IP 206.129.200.138, port 80 to 192.168.1.20, port whatever your zope server is running on - 8080 by default. You can override this in z2.py. No need for zope to know anything about your external IP. Install a vhm from the enhanced site access product, v. 2, into the root of your install. Within the vhm, click on the Edit tab, and read the example docs to setup the vhm. It's a really simple, two field form to fill out. The first field is your URL, www.plecouncil.org, the second is the path, /PLE. Thanks it! Scott -----Original Message----- From: Rebecca Elder [mailto:sharpscissor@yahoo.com] Sent: Friday, December 14, 2001 1:52 PM To: zope@zope.org Subject: [Zope] newbie troubles--apache/zope behind firewall As a brand spanking new Zopist I'm having no luck getting my Zope going behind firewall with virtual hosting. I've been through this list and zope.org resources and tried most of the code snippets I've come across and I'm feeling discouraged--I hope you can help, I would really appreciate it. Here's the info to give you an idea; I'm not trying to do anything fancy here-- My webserver has an external IP 206.129.200.138 (where Dotster dns is pointed) and internal IP 192.168.1.20 The site I want to host is www.plecouncil.org in Zope folder PLE. It appears that I need Apache but I'm not sure if I need mod proxy, rewrite rules, or both. I gather that I should use a virtualhostmonster in the zope root folder. I'm not clear on how to get the external IP connected to the internal IP and then the Apache server to the Zope server. I wouldn't mind doing without Apache, but I think I need it to the negotiate the firewall, right? ---------------- LoadModule proxy_module modules/apachemoduleproxy.dll LoadModule rewrite_module modules/apachemodulerewrite.dll Port 80 #same as A record name-correct? or should be internal or ext. IP? ServerName webserver.plecouncil.org # #website is the name of my zope folder DocumentRoot "c:/program files/website" #I'm not sure which IP to use--external, right? NameVirtualHost 206.129.200.138 <VirtualHost 206.129.200.138> ServerName www.plecouncil.org DocumentRoot c:/program files/WebSite <IfModule mod_rewrite.c> RewriteEngine On RewriteLog "/var/log/apache/rewrite_log" RewriteLogLevel 1 RewriteRule ^/local/ - [ L ] RewriteRule ^/icons/ - [ L ] RewriteRule ^/~(.*) - [ L ] RewriteRule ^/cgi-bin/ - [ L ] RewriteRule ^/(.*) \ <http://206.129.200.138:8080/VirtualHostBase/http/www.plecouncil.org:80/pl> e/VirtualHostRoot/$1 [ P ] </IfModule> </VirtualHost> __________________________________________________ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com _______________________________________________ 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 ) The information contained in this email message may be privileged and is confidential information intended only for the use of the recipient or any employee or agent responsible for delivering it to the intended recipient. Any unauthorized use, distribution or copying of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify the sender immediately and destroy the original message and all attachments from your electronic files.
participants (1)
-
Meilicke, Scott