Forum

5.7 can't support port change?

Kyle
26 March 2007, 18:45
Another question,
When I change the HTTP port from 80 to another port such as 100 in httpd.conf bind settings, the client browser can't visit my web page. The same configuration works well in hiawatha 5.5.
Is this a 5.7 bug or my conf wrong?
Thanks

my httpd.conf:
ServerId = 33:33
ConnectionsTotal = 100
ConnectionsPerIP = 10
SystemLogfile = /usr/local/var/log/hiawatha/system.log
GarbageLogfile = /usr/local/var/log/hiawatha/garbage.log

Binding {
Port = 100
}

CGIhandler = /opt/bin/php:php


Hostname = 127.0.0.1
WebsiteRoot = /usr/local/var/www/hiawatha
StartFile = index.html
AccessLogfile = /usr/local/var/log/hiawatha/access.log
ErrorLogfile = /usr/local/var/log/hiawatha/error.log

VirtualHost {
Hostname = 172.16.3.1
WebsiteRoot = /usr/local/var/www/hiawatha
StartFile = index.html
ExecuteCGI = yes
}
Hugo Leisink
27 March 2007, 02:19
I tried it with 5.7 and everything looks oke. Can you tell me exactly what you did and what kind of error you get? Maybe it's some redirect error? If you request a directory without the last slash, Hiawatha uses the hostname to create a redirect (HTTP 301). You are sure you have the right hostname/IP address?
Kyle
28 March 2007, 12:29
Maybe this caused by my environment, too.
Thank you.
Guest
28 March 2007, 13:02
Someone add a firewall rule to drop packet if the port is not 80, and I don't know it
This topic has been closed.