You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Roger Spooner <ri...@cs.york.ac.uk> on 1997/07/29 16:00:03 UTC

config/933: VirtualHost should support different port numbers

>Number:         933
>Category:       config
>Synopsis:       VirtualHost should support different port numbers
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache (Apache HTTP Project)
>State:          open
>Class:          change-request
>Submitter-Id:   apache
>Arrival-Date:   Tue Jul 29 07:00:02 1997
>Originator:     riws@cs.york.ac.uk
>Organization:
apache
>Release:        1.2.0
>Environment:
Irix 5.3
>Description:
I've been thinking about name-based <VirtualHost> 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:
<virtualhost www.virtual.com host.site.edu:8123>  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:
>Unformatted: