The default for administering Zope is http://localhost:8080 <http://localhost:8080> , how do I configure ZOPE to serve http://mydomain.com <http://mydomain.com> without the 8080? I plan on using ZOPE for our IntrAnet and wanted to make sure I can have our employees point to our Intranet domain name, without the 8080. Thanks Allen May MCSi Web Admin 800.842.1702 x7628
You just have to look at z2.py. It has a lot of parameters that allows you to set the servers ports: For example: z2.py -w 80 sets the web server to port 80 (default HTTP port). Nico.- ----- Mensaje original ----- De: Allen May <allen.may@mcsinet.com> Para: <zope@zope.org> Enviado: Jueves, 27 de Diciembre de 2001 01:18 p.m. Asunto: [Zope] Domain docroot
The default for administering Zope is http://localhost:8080 <http://localhost:8080> , how do I configure ZOPE to serve http://mydomain.com <http://mydomain.com> without the 8080?
I plan on using ZOPE for our IntrAnet and wanted to make sure I can have our employees point to our Intranet domain name, without the 8080.
Thanks
Allen May MCSi Web Admin 800.842.1702 x7628
On Thu, Dec 27, 2001 at 01:31:49PM -0300, Nicolas Rodriguez wrote:
You just have to look at z2.py. It has a lot of parameters that allows you to set the servers ports: For example: z2.py -w 80 sets the web server to port 80 (default HTTP port).
Nico.-
This is correct, but partial. This works only if you do not have another web server already on the computer hosting zope. If you already have a webserver in place, then you have to configure it to pass some data into zope. with apache this is usually done with mod_rewrite or mod_proxy. In these kinds of queries, it would be very helpful to look at the mail list archives (this is a common question), and to include platform details, i.e., operating system and version, distribution (if linux). Note: if your employees need external access from the Internet you probably want to use a https proxy. Jim Penny
----- Mensaje original ----- De: Allen May <allen.may@mcsinet.com> Para: <zope@zope.org> Enviado: Jueves, 27 de Diciembre de 2001 01:18 p.m. Asunto: [Zope] Domain docroot
The default for administering Zope is http://localhost:8080 <http://localhost:8080> , how do I configure ZOPE to serve http://mydomain.com <http://mydomain.com> without the 8080?
I plan on using ZOPE for our IntrAnet and wanted to make sure I can have our employees point to our Intranet domain name, without the 8080.
Thanks
Allen May MCSi Web Admin 800.842.1702 x7628
_______________________________________________ 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 )
Many possible solutions... Is your Zope server behind Apache ? In that case, put a VirtualHostMonster object at the root of your Zope and follow instructions in the help to change/set accordingly an Apache VirtualHost. Otherwise, look at the doc in Z2.py for changing the HTTP port of Zope to 80. You can make a virtual host in a Zope using this tip provided by Alex some weeks ago: let's say you want the folder /foo to become www.foo.org and /bar to become www.bar.org create a SiteRoot object on each folder with title, base and path empty. then at the root folder create a python script with the following content: hostname = context.REQUEST.HTTP_HOST sitemap = {} sitemap['www.foo.org']='foo' sitemap[www.bar.org']='bar' if sitemap.has_key(hostname): SiteRootPATH='/' context.REQUEST['TraversalRequestNameStack'].append(sitemap[hostname]) go back to root folder and select 'Set Access Rule' , click Add, then in the 'Rule Id' write the name of the python script you just created in the root folder and finally click 'Set Rule', that will make an Access Rule out of that pyscript. ----- Original Message ----- From: "Allen May" <allen.may@mcsinet.com> To: <zope@zope.org> Sent: Thursday, December 27, 2001 5:18 PM Subject: [Zope] Domain docroot
The default for administering Zope is http://localhost:8080 <http://localhost:8080> , how do I configure ZOPE to serve http://mydomain.com <http://mydomain.com> without the 8080?
I plan on using ZOPE for our IntrAnet and wanted to make sure I can have our employees point to our Intranet domain name, without the 8080.
Thanks
Allen May MCSi Web Admin 800.842.1702 x7628
participants (4)
-
Allen May -
Gilles Lenfant -
Jim Penny -
Nicolas Rodriguez