httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff White" <jlw...@earthlink.net>
Subject Re: [users@httpd] Listening on Port 81...
Date Mon, 13 Sep 2004 13:59:53 GMT

From: "O-One"

> >
> > I have not so sophisticated users,
> > and telling them that they have to
> > append the port number seems a
> > bit much, is there a way around this for me?
> >

From: "Steffen Heil"

> No.

Sure there is, read on...

> http://domain.tld is resolved in two parts:
> 1. DNS resolves domain.tld to your IP, no port here.
> 2. http implies port 80.
> So requests go to your IP on port 80.

> The are only two things you can do:

Or more...

> 1. Give your server two ips. Have one
> for apache and one for your other application
> (both on port 80, see apaches Listen directive).
> 2. Move you other application to another port
> and have apache on port 80, use apaches
> ProxyPass directive to forward a special
> domain to your application on the new port.
> Both ways enable you to reach both servers
> using port 80.
>

Or run Windows 2003 Server (or any
Windows OS equal to Windows XP SP2
or higher) because Windows systems now
run a default service called HTTP.SYS.

Http.sys allows Windows users to have
access to around 100 different processes
(that use the Http and Https protocols) per
IP:PORT.

Examples:

If process A
(a web server)
registers with Http.sys

IP: port and URL
xxx.xxx.xxx.xxx:5050/myPics/vacation.htm

and then process B
(a simple .NET Framework server assembly
using the http protocol that checks for a
"special" message from the client before it
sends back it's information or just drops the
connection if the client sends no "special"
message.)
registers with Http.sys

IP: port and URL
xxx.xxx.xxx.xxx:5050/myServer/

Or even using port 80 for the above
examples....

Then Http.sys will route the correct http
URL to the properly registered process.

Any other requests to this IP:PORT should
receive a http error message.

So Http.sys allows the same IP and Port to
be used by the two different processes.

Not the easiest thing to use right now
because most information concerning
Http.sys involves how IIS 6 uses Http.sys
(with it's special ways). But Http.sys is
available for any Windows process to
use.

HTTP API
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/http/http/http_api_start_page.asp

Jeff



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message