From nobody@hyperreal.org Tue Jul 29 06:51:33 1997 Received: (from nobody@localhost) by hyperreal.org (8.8.5/8.8.5) id GAA05092; Tue, 29 Jul 1997 06:51:33 -0700 (PDT) Message-Id: <199707291351.GAA05092@hyperreal.org> Date: Tue, 29 Jul 1997 06:51:33 -0700 (PDT) From: Roger Spooner Reply-To: riws@cs.york.ac.uk To: apbugs@hyperreal.org Subject: VirtualHost should support different port numbers X-Send-Pr-Version: 3.2 >Number: 933 >Category: config >Synopsis: VirtualHost should support different port numbers >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Class: change-request >Submitter-Id: apache >Arrival-Date: Tue Jul 29 07:00:02 1997 >Last-Modified: Wed Jul 30 21:56:24 PDT 1997 >Originator: riws@cs.york.ac.uk >Organization: >Release: 1.2.0 >Environment: Irix 5.3 >Description: I've been thinking about name-based and trying to make it adequately compatible with old web browsers. I have already implemented the solution you suggest of having the virtualhost directories also available as directories on the main server, but I think that using different port numbers would be better because the HTML writers would be able to specify relative URL's beginning with '/' if they wanted. There are enough ports free on most machines to satisfy typical virtual-server requirements. So, I'm suggesting that the same files be accessible as http://www.virtual.com/ and http://host.site.edu:8123/ and possibly http://host.site.edu/virtual/ >How-To-Repeat: will not work for name-based vhosts. >Fix: Change the parsing of name-based virtual hosts to allow different port numbers. The in-depth explanation says that any port other than the default will be treated as an ip-based virtual host >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: dgaudet State-Changed-When: Wed Jul 30 21:56:23 PDT 1997 State-Changed-Why: Yes, a rewrite of vhosts will be done someday. What you ask for may already be possible, but I wouldn't count on it working right. The vhost support works well if your server is entirely name based, or entirely ip-based. Or entirely port-based. BTW, port-based stuff is a bad idea for various reasons. Including lame corporate firewalls that only allow people to use http on port 80. Dean >Unformatted: