httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 7650] New: - virtual host
Date Mon, 01 Apr 2002 02:24:11 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7650>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7650

virtual host

           Summary: virtual host
           Product: Apache httpd-1.3
           Version: 1.3.23
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: cn_liqy@21cn.com


I have configured a conf file as below:

ServerType standalone
ServerRoot "e:\cvsroot\apache"
PidFile logs\httpd.pid
ScoreBoardFile logs\apache_status
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MaxRequestsPerChild 0
ThreadsPerChild 1
Port 80
ServerAdmin bitspirit@163.net
ServerName www.liqy.com
DocumentRoot "E:/webroot/html"

ScriptAlias /cgi-bin/ "E:/webroot/cgi-bin/"

NameVirtualHost 192.168.100.52

<VirtualHost 192.168.100.52>
	ServerName www.liqy1.com
	DocumentRoot "E:/webroot/html/html"
</VirtualHost>

<VirtualHost 192.168.100.52>
	ServerName www.liqy2.com
	DocumentRoot "E:/webroot/html/liqy"
</VirtualHost>

And configured win2000's hosts as below:

192.168.100.52 www.liqy.com
192.168.100.52 www.liqy1.com
192.168.100.52 www.liqy2.com

I visite the virtual host "www.liqy.com", but get the virtual 
host "www.liqy1.com". I think that Apache during matching IP address 
selects "www.liqy1.com" but during matching request header(HOST field) does not 
select "www.liqy.com".

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message