Forum

some parameters are not good for my hiawatha

asteriks obeliks
28 November 2016, 16:02
Hi,
I am first time user of hiawatha (10.4), I use vps: 1core cpu, 2GB RAM, 20 GB SSD. debian 8.
I installed hiawatha and wordpress following some tutorials that can be made for old hiawatha.
the next parameters had to be commented to be able to restart hiawatha, I could not use it commented out, I don't know why this parameters are not good for my hiawatha? my php.ini is changed to let me to upload 200MB files. so, in wordpress is written I can upload 200M, although I didn't try it. my connection to wordpress was earlier kicked out, but now not anymore. now I can edit wordpress articles without to restart hiawatha i.e. without to lose content.

Binding {
Port = 443
TLScertFile = /etc/ssl/private/blog.blabla.com.pem
# ConnectionsTotal = 4096
# ConnectionsPerIP = 32
MaxRequestSize = 102400
MaxKeepAlive = 100
TimeForRequest = 10,60
# MaxUploadSize = 102400
# BanlistMask = allow 130.226.1.1
#ThreadKillRate = 10
#CacheSize = 8
#CacheMaxFilesize = 512
#LogfileMask = deny LOCALHOST, deny 130.226.1.1
#RequestLimitMask = deny LOCALHOST, deny 130.226.1.1


as you see, I had to comment many lines, after that hiawatha restarted successfully and didn't kick me out anymore.

I wrote in banlist section: BanlistMask = deny 192.168.0.0/24, deny 127.0.0.1, deny 130.226.41.3
it is accepted, but it was refused in Binding section.

I wrote also VirtualHost { in hiawatha.conf instead to make enabled site and especial virtualhost file. Is it okay or not?
UseToolkit = wordpress was accepted, UseToolkit = WordPress was not accepted by hiawatha.

considering wordpress, this worked for me, there are different tutorials:
[code]UrlToolkit {
ToolkitID = wordpress
RequestURI exists Return
#Match .*\?(.*) Rewrite /index.php?$1
#Match .* Rewrite /index.php
RequestURI exists Return
Match [^?]*(\?.*)? Rewrite /index.php$1
}
[code]
This topic has been closed.