Hiawatha version: 7.3
Operating System: Windows XP
I am setting up local web server. I do not use mnemonic addresses as I do not need them. What I want to achieve is to set different sites on different ports. Main site would be on port 80, and additional site on port 1080.
I cannot find way to achieve this. No matter what I do, main site gets connections for both ports.
Here is my config (which does not work as I want it to):
# Hiawatha httpd.conf
#
Binding {
BindingID = port80
Port = 80
MaxKeepAlive = 30
TimeForRequest = 3,20
}
Binding {
BindingID = port1080
Port = 1080
MaxKeepAlive = 30
TimeForRequest = 3,20
}
ConnectionsTotal = 550
ConnectionsPerIP = 50
SystemLogfile = C:\Program Files\Hiawatha\log\system.log
Hostname = 127.0.0.1
WebsiteRoot = C:\wwwroot
StartFile = index.html
AccessLogfile = C:\Program Files\Hiawatha\log\access80.log
ErrorLogfile = C:\Program Files\Hiawatha\log\error80.log
#ExecuteCGI = yes
#UseFastCGI = PHP5
#TimeForCGI = 10
VirtualHost{
Hostname = 127.0.0.1
RequiredBinding = port80
WebsiteRoot = C:\wwwroot
StartFile = index.html
AccessLogfile = C:\Program Files\Hiawatha\log\access80.log
ErrorLogfile = C:\Program Files\Hiawatha\log\error80.log
}
VirtualHost{
Hostname = 127.0.0.1
RequiredBinding = port1080
WebsiteRoot = C:\wwwroot1080
StartFile = index.html
AccessLogfile = C:\Program Files\Hiawatha\log\access1080.log
ErrorLogfile = C:\Program Files\Hiawatha\log\error1080.log
}