Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Bugs

[Bug 7649] New: - virtual host

 

 

Apache bugs RSS feed   Index | Next | Previous | View Threaded


bugzilla at apache

Mar 31, 2002, 7:22 PM

Post #1 of 1 (63 views)
Permalink
[Bug 7649] New: - virtual host

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=7649>.
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=7649

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 [at] httpd
ReportedBy: cn_liqy [at] 21cn


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 [at] 163
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 [at] httpd
For additional commands, e-mail: bugs-help [at] httpd

Apache bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.