[Zope-dev] Zope URL

Kenneth Latta Kenneth.Latta@invictus63.com
Tue, 3 Oct 2000 16:00:48 -0400


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C02D74.A1DDA630
Content-Type: text/plain;
	charset="iso-8859-1"

I do not want to connect to the Intranet using the server port (8080) in the
URL to access the Zope pages .
 
The problem you have is related to the sockets. Zope has it's port set to
8080 as a default
just to make it easier to coexist with IIS. The default for the http service
is port 80.
If you want to use  <http://smt/manage> http://smt/manage
You will have to have your IIS changed to run on another port instead of the
default,
and then change Zope to run on port 80.
But folks who don't know and just try to visit your site at  <http://smt>
http://smt will get the default page
served by the Zope server not your IIS server.
 
(Of course you could removed the less capable web server software...;-} )
 
You can not have both servers on the same port.
 
So you probably will need to redo the install settings for both IIS and
Zope.
 
A Windows-only fix would be to change the registry setting used for the
default http service to 8080.
But this won't make the two services coexist on one port.
Ports 

Port 
Number 

HTTP
80

FTP
21

GOPHER
70

SSL
443
 
If you want to use other port numbers, you can change them through the
Registry. Start RegEdit and go to the key
HKEY_LOCAL_MACHINE\System\CurrentControlSet\ 
control\ServiceProvider\ServiceTypes . In the W3svc subkey you'll find a
hexidecimal value named TcpPort. Change this to the port number you want to
use. Fo r example, if you want to use port 81, set the value to 51 (51 hex
is 81 decimal). Similarly, you can set the FTP port in the MSFTPSVC subkey. 
Ken Latta
Invictus Systems Corporation
 <mailto:klatta@invictus63.com> klatta@invictus63.com
 
 

------_=_NextPart_001_01C02D74.A1DDA630
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 5.50.4134.600" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr><FONT face=Arial>I do not want to connect to the Intranet using the 
server port (8080) in the</FONT></DIV>
<DIV dir=ltr><FONT face=Arial>URL to access the Zope pages .</FONT></DIV>
<DIV dir=ltr><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV dir=ltr><SPAN class=478324819-03102000><FONT face=Arial>The problem you 
have is related to the sockets. Zope has it's port set to 8080 as a 
default</FONT></SPAN></DIV>
<DIV dir=ltr><SPAN class=478324819-03102000><FONT face=Arial>just to make it 
easier to coexist with IIS. The default for the http service is port 
80.</FONT></SPAN></DIV>
<DIV dir=ltr><SPAN class=478324819-03102000><FONT face=Arial>If you want to use 
</FONT><A href="http://smt/manage"><FONT 
face=Arial>http://smt/manage</FONT></A></SPAN></DIV>
<DIV dir=ltr><SPAN class=478324819-03102000><FONT face=Arial>You will have to 
have your IIS changed to run on another port instead of the 
default,</FONT></SPAN></DIV>
<DIV dir=ltr><SPAN class=478324819-03102000><FONT face=Arial>and then change 
Zope to run on port 80.</FONT></SPAN></DIV>
<DIV dir=ltr><SPAN class=478324819-03102000><FONT face=Arial>But folks who don't 
know and just try to visit your site at </FONT><A href="http://smt"><FONT 
face=Arial>http://smt</FONT></A><FONT face=Arial> will get the default 
page</FONT></SPAN></DIV>
<DIV dir=ltr><SPAN class=478324819-03102000><FONT face=Arial>served by the Zope 
server not your IIS server</FONT></SPAN><SPAN class=478324819-03102000><FONT 
face=Arial>.</FONT></SPAN></DIV>
<DIV dir=ltr><SPAN class=478324819-03102000><FONT 
face=Arial></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr><SPAN class=478324819-03102000><FONT face=Arial>(Of course you 
could removed the less capable web server software...;-} )</FONT></SPAN></DIV>
<DIV dir=ltr><SPAN class=478324819-03102000><FONT 
face=Arial></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr><SPAN class=478324819-03102000><FONT face=Arial>You can not have 
both servers on the same port.</FONT></SPAN></DIV>
<DIV dir=ltr><SPAN class=478324819-03102000><FONT 
face=Arial></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr><SPAN class=478324819-03102000><FONT face=Arial>So you probably 
will need to redo the install settings for both IIS and 
Zope.</FONT></SPAN></DIV>
<DIV dir=ltr><SPAN class=478324819-03102000><FONT 
face=Arial></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr><SPAN class=478324819-03102000><FONT face=Arial>A Windows-only fix 
would be to change the registry setting used for the default http service to 
8080.</FONT></SPAN></DIV>
<DIV dir=ltr><SPAN class=478324819-03102000><FONT face=Arial>But this won't make 
the two services coexist on one port.</FONT></SPAN></DIV><SPAN 
class=478324819-03102000>
<DIV dir=ltr><FONT face=Arial>Ports </FONT></DIV>
<TABLE cellSpacing=3 cellPadding=2 width=124 border=1>
  <TBODY>
  <TR>
    <TD vAlign=center>
      <DIV align=center><FONT face=Arial><B>Port</B> </FONT></DIV></TD>
    <TD vAlign=center>
      <DIV align=center><FONT face=Arial>Number </FONT></DIV></TD></TR>
  <TR>
    <TD vAlign=center>
      <DIV><FONT face=Arial size=2>HTTP</FONT></DIV></TD>
    <TD vAlign=center>
      <DIV><FONT face=Arial size=2>80</FONT></DIV></TD></TR>
  <TR>
    <TD vAlign=center>
      <DIV><FONT face=Arial size=2>FTP</FONT></DIV></TD>
    <TD vAlign=center>
      <DIV><FONT face=Arial size=2>21</FONT></DIV></TD></TR>
  <TR>
    <TD vAlign=center>
      <DIV><FONT face=Arial size=2>GOPHER</FONT></DIV></TD>
    <TD vAlign=center>
      <DIV><FONT face=Arial size=2>70</FONT></DIV></TD></TR>
  <TR>
    <TD vAlign=center>
      <DIV><FONT face=Arial size=2>SSL</FONT></DIV></TD>
    <TD vAlign=center>
      <DIV><FONT face=Arial size=2>443</FONT></DIV></TD></TR></TBODY></TABLE>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial>If you want to use other port numbers, you can change them 
through the Registry. Start RegEdit and go to the key </FONT><FONT 
face=Arial><CODE>HKEY_LOCAL_MACHINE\System\CurrentControlSet\ 
<BR>control\ServiceProvider\ServiceTypes </CODE>. In the W3svc subkey you'll 
find a hexidecimal value named TcpPort. Change this to the port number you want 
to use. Fo r example, if you want to use port 81, set the value to 51 (51 hex is 
81 decimal). Similarly, you can set the FTP port in the <CODE>MSFTPSVC 
</CODE>subkey. </FONT></DIV>
<DIV><SPAN class=478324819-03102000><FONT face=Arial>Ken 
Latta</FONT></SPAN></DIV>
<DIV><SPAN class=478324819-03102000><FONT face=Arial>Invictus Systems 
Corporation</FONT></SPAN></DIV>
<DIV><SPAN class=478324819-03102000><A href="mailto:klatta@invictus63.com"><FONT 
face=Arial>klatta@invictus63.com</FONT></A></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial></FONT></SPAN>&nbsp;</DIV></BODY></HTML>

------_=_NextPart_001_01C02D74.A1DDA630--