www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Soffen@hyperreal.com, Matthew <m...@soffen.com>
Subject other/211: Unable to set virtual server for a domain name.
Date Fri, 28 Feb 1997 07:50:01 GMT

>Number:         211
>Category:       other
>Synopsis:       Unable to set virtual server for a domain name.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache (Apache HTTP Project)
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Feb 27 23:50:01 1997
>Originator:     matt@soffen.com
>Organization:
apache
>Release:        1.2b6
>Environment:
Solaris 2.5 on Sun NETRA system.  using GCC 2.7.2
>Description:
Unable to create Virtual server for a domain.

Example:
    Domain: bar.com and 
    Host:   foo.bar.com

Virtual Server for foo.bar.com works fine, but I am unable to get the virtual 
server for bar.com to work.
>How-To-Repeat:
Here is the definition for virtual servers:

<VirtualHost www.utv.net>
ServerAdmin webmaster@ultimatetv.com
DocumentRoot /html_files/doc_old_servers
ServerName www.utv.net
ScriptAlias /cgi-bin/ /html_files/doc_old_servers/cgi
ErrorLog logs/utv.net-error_log
TransferLog logs/utv.net-access_log
ErrorDocument 404 /error.html
ErrorDocument 500 /error.html
HostnameLookups on
</VirtualHost>

and also

<VirtualHost www.utv.net>
ServerAdmin webmaster@ultimatetv.com
DocumentRoot /html_files/doc_old_servers
ServerName www.utv.net
ScriptAlias /cgi-bin/ /html_files/doc_old_servers/cgi
ErrorLog logs/utv.net-error_log
TransferLog logs/utv.net-access_log
ErrorDocument 404 /error.html
ErrorDocument 500 /error.html
HostnameLookups on
</VirtualHost>

ServerAlias www.utv.net *.utv.net


The virtual server for utv.net does not work, while www.utv.net does.
>Fix:
Allow the <Virtual Host> command to accept a domain as well as a hostname
>Audit-Trail:
>Unformatted:



Mime
View raw message