[Zope] Hiding Port Number in Zope

Tino Wildenhain tino@wildenhain.de
Fri, 23 Feb 2001 11:45:18 +0100


Hi Paul,

what the hell are you doing? :-)
Obviously you cant have more then one server running on the same IP and =
Port.
To suppres the port-parameter in the URL you have to use the standard port
80 as mentioned already.

So either remove one of the servers you are running to get zserver serving
on port 80  (with -w 80 )

Or set up a proxy solution to cover both servers. Apache can do this for =
example.
mod_proxy and mod_rewrite. There are docs how to do it on apache.org and
zope.org.

If you have more then one IP-adress attached to your host, you can use:

 -w otherip:80  for your Zope and configure your other http-server you use
for the second ip.

HTH
Tino Wildenhain

--On Freitag, 23. Februar 2001 11:12 +0100 Paul Zwarts =
<paul.zwarts@oratrix.com> wrote:

> Hi...
>
> I am using MSIE 5.0 from Win2kPro... What I dont understand about all
> this is how Zserver will sit alongside the webserver in tandem. Because
> if the webserver runs on :80, then you cannot start zope on :80, but
> rather :8080. So how do you simply access zope.somewhere.com/index_html
> when the zserver is on 8080....? I know you can redirect, but this is
> different. Whats more, because I hit MSIE server on 80, then pass it to
> zope, Zope does not get any valid REQUEST['HTTP_REFERER'] =
information.....
>
> What am I missing?
>
> {Paz
>
> Rodrigo Leme de Mello wrote:
>
>> You can specify the parameter -w 80 into your start script. As port 80 =
is
>> the default to the browser=B4s
>> You won=B4t see the port number anymore.
>>
>> Rodrigo
>>
>> We are running Zope under an Apache server and we were wondering if =
there
>> was anyway to remove the port number from the web address.  For example,
>> our web address looks as following: http://www.something.com:8080/its =
and
>> we would like it to look like this http://www.something.com.its is there
>> any way to do this?
>>
>> _______________________________________________
>> 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 )
>>
>> _______________________________________________
>> 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 )
>
>
> _______________________________________________
> 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 )