Hello
I am running hiawatha on a windows machine (see specs below) and did configure hiawatha as following:
# GENERAL SETTINGS
#
#ServerId = www-data
ConnectionsTotal = 150
ConnectionsPerIP = 10
SystemLogfile = /cygdrive/c/Program Files/Hiawatha/log/system.log
GarbageLogfile = /cygdrive/c/Program Files/Hiawatha/log/garbage.log
# BINDING SETTINGS
# A binding is where a client can connect to.
#
Binding {
Port = 80
# Interface = 127.0.0.1
# MaxKeepAlive = 30
# TimeForRequest = 3,20
}
# COMMON GATEWAY INTERFACE (CGI) SETTINGS
# These settings can be used to run CGI applications. Use the 'php-fcgi'
# tool to start PHP as a FastCGI daemon.
CGIhandler = 'C:\Program Files\PHP5\php-cgi.exe:php'
ExecuteCGI = yes
CGIextension = cgi
# DEFAULT WEBSITE
# It is wise to use your IP address as the hostname of the default website
# and give it a blank webpage. By doing so, automated webscanners won't find
# your possible vulnerable website.
#
Hostname = 127.0.0.1
WebsiteRoot = C:\wwwroot
StartFile = index.html
AccessLogfile = /cygdrive/c/Program Files/Hiawatha/log/access.log
ErrorLogfile = /cygdrive/c/Program Files/Hiawatha/log/error.log
#ErrorHandler = 404:/error.cgi
When i try to access a test.php file in my browser, hiawatha server always try to download this file.
Why is it not interpreting the file with the given cgi handler? Any hints?
Greetings Marius
Hiawatha version: 8.1
Operating System: Windows 7 32 Bit