Hiawatha version:
Operating System:
hi
now i got another problem. I can't get the files index.php to work, it only show the list of files
index.html is working fine...
What did i forgott please ?
here is my config
ServerId = mc
ConnectionsTotal = 150
ConnectionsPerIP = 10
SystemLogfile = /var/www/logs/hiawatha/system.log
GarbageLogfile = /var/www/logs/hiawatha/garbage.log
# BINDING SETTINGS
Binding {
Port = 80
}
Binding {
Port = 443
SSLcertFile = /etc/hiawatha/serverkey.pem
}
# BANNING SETTINGS
BanOnGarbage = 300
BanOnMaxPerIP = 60
BanOnMaxReqSize = 300
KickOnBan = yes
RebanDuringBan = yes
# COMMON GATEWAY INTERFACE (CGI) SETTINGS
CGIhandler = /usr/bin/perl:pl
CGIhandler = /usr/bin/php-cgi:php
CGIhandler = /usr/bin/python:py
CGIhandler = /usr/bin/ruby:rb
CGIhandler = /usr/bin/ssi-cgi:shtml
ExecuteCGI = yes
CGIextension = cgi
# DEFAULT WEBSITE
Hostname = 127.0.0.1
WebsiteRoot = /var/www/hiawatha
StartFile = index.php
AccessLogfile = /var/www/logs/hiawatha/access.log
ErrorLogfile = /var/www/logs/hiawatha/error.log
AccessList = allow all
ShowIndex = no
# DIRECTORY SETTINGS
Directory {
Path = /var/www/hiawatha/admin
ExecuteCGI = yes
TimeForCGI = 300
AccessList = pwd all
PasswordFile = basic:/etc/hiawatha/passwords
StartFile = index.html
}
Directory {
Path = /var/www/hiawatha
ExecuteCGI = yes
TimeForCGI = 300
StartFile = index.html
}
Directory {
Path = /var/www/hiawatha/map
ExecuteCGI = yes
TimeForCGI = 300
StartFile = index.php
}
Directory {
Path = /var/www/hiawatha/phpbb
ExecuteCGI = yes
TimeForCGI = 60
StartFile = index.php
}