I am looking at setting up Hiawatha with PHP on Ubuntu LTS to use wiith Squirrelmail. I have a few questions regarding the setup.
First, is it possible to use Hiawatha with PHP without CGI or FastCGI? On Ubuntu, can I just install Hiawatha from a .deb and install php5 from the repositories and use them together?
Second, do I need to enable EnableAlter and change the MaxUploadSize in order to allow attachment uploads in Squirrelmail?
Below is a potential configuration. Will this work for Squirrelmail? I have also included a few questions in comments about parameters I have seen in other examples, but that I do not completely understand.
Thank you.
#I will set this to a user:group (with disabled login) created to
# handle /home/username (which is where I will store website files)
ServerId = user:group
#How do I remove the server string? Do I leave this empty?
# Or, do I actually type 'none' like the manual pages say?
ServerString = Web Server
MinSSLversion = TLS1.0
#Do I need this?
BanlistMask = deny 192.168.0.0/24, deny 127.0.0.1
BanOnFlooding = 30/1:300
BanOnGarbage = 300
BanOnMaxPerIP = 300
BanOnMaxReqSize = 300
KickOnBan = yes
RebanDuringBan = yes
ReconnectDelay = 3
MaxServerLoad = 0.8
#Why would I use this?
HideProxy = 127.0.0.1
Binding {
Port = 80
}
Binding {
Port = 443
SSLcertFile = /etc/path-to-cert/servername.pem
#Do I need these settings to enable attachment uploads in Squirrelmail?
EnableAlter = yes
MaxUploadSize = 25
}
Hostname = IP address of server
WebsiteRoot = /home/username/dummy/www
StartFile = index.html
VirtualHost {
Hostname = www.website.org
WebsiteRoot = /home/username/website.org/www
RequireSSL = yes
SSLcertFile = /etc/path-to-cert/servername.pem
StartFile = index.php
PreventCSRF = yes
PreventXSS = yes
#I might use these settings to make these logs different from the default
# AccessLogfile = /home/username/website.org/log/access.log
# ErrorLogfile = /home/username/website.org/log/error.log
}