Catatan: Sebaiknya port yang diganti adalah port kloxo (non-ssl/ssl), ssh dan ftp. Sebaiknya port pakai angka diatas 30000 misalnya 40022 untuk ssh port. Hanya saja ketika port diganti, perlu penyesuian di 'watchdog'.
pak saya coba ganti port panel kloxo tp kok malah di restart kloxo tidak bisa ya?
Stopping kloxo-phpcgi: [ OK ]
Starting kloxo-phpcgi ('php54s' in 'fpm' mode): [ OK ]
Starting kloxo-hiawatha: Syntax error in hiawatha.conf on line 81. [FAILED]
padahal di /usr/local/lxlabs/kloxo/init/hiawatha.conf sudah saya edit manual tetapi masih ttp errorEDIT: untuk masalah login sudah bisa dg sh /script/defaultport
terus bukannya kalau cuman edit port panel kloxo jg percuma ya, soalnya kan ketika domain di akses domain.com/slug-lupa akan menampilkan link panel kloxo dll (tolong kasih tau slug url yg lupa

)
# Hiawatha main configuration file
# Convictions Hosting Custom - September 9th
ServerString = Hiawatha_for_Kloxo-MR
ServerId = lxlabs
ConnectionsTotal = 2048
ConnectionsPerIP = 64
SystemLogfile = /var/log/hiawatha/system.log
GarbageLogfile = /var/log/hiawatha/garbage.log
ExploitLogfile = /var/log/hiawatha/exploit.log
ErrorLogfile = /var/log/hiawatha/error.log
AccessLogfile = /var/log/hiawatha/access.log
MaxUrlLength = 65536
PIDfile = /usr/local/lxlabs/kloxo/init/kloxo-hiawatha.pid
ChallengeClient = 300, httpheader, 60
BanOnGarbage = 300
BanOnMaxPerIP = 60
BanOnMaxReqSize = 300
KickOnBan = yes
RebanDuringBan = yes
ThreadPoolSize = 50
CGIhandler = /usr/bin/perl:pl
CGIhandler = /usr/bin/perl:cgi
CGIhandler = /usr/bin/php54s-cgi:php
CGIhandler = /usr/bin/python:py
CGIhandler = /usr/bin/ruby:rb
CGIhandler = /usr/bin/ssi-cgi:shtml
#CGIextension = php
#CGIwrapper = /usr/sbin/cgi-wrapper
ExecuteCGI = yes
WaitForCGI = yes
MinTLSversion = TLS1.0
FastCGIserver {
FastCGIid = PHP5
#ConnectTo = 127.0.0.1:39000
ConnectTo = /usr/local/lxlabs/kloxo/init/kloxo-phpcgi.sock
Extension = php
SessionTimeout = 3600
}
MimetypeConfig = hiawatha-mimetype.conf
UrlToolkit {
ToolkitID = block_shellshock
#Header * \(\)\s*\{ DenyAccess
Header User-Agent \(\)\s*\{ DenyAccess
Header Referer \(\)\s*\{ DenyAccess
}
UrlToolkit {
ToolkitID = findindexfile
Match ^([^?]*)/(\?.*)?$ Rewrite $1/index.php$2 Continue
RequestURI isfile Return
Match ^([^?]*)/index\.php(\?.*)?$ Rewrite $1/index.html$2 Continue
RequestURI isfile Return
Match ^([^?]*)/index\.html(\?.*)?$ Rewrite $1/index.htm$2 Continue
RequestURI isfile Return
Match ^([^?]*)/index\.htm(\?.*)?$ Rewrite $1/$2 Continue
}
Directory {
DirectoryID = static_file
Path = /
Extensions = css,eot,gif,htm,html,ico,jpeg,jpg,js,otf,pdf,png,ps,psd,svg,swf,ttf,txt,woff,woff2
ExpirePeriod = 1 weeks
}
Binding {
BindingId = port_nonssl
Port = 7778
#Interface = 0.0.0.0
MaxKeepAlive = 3600
TimeForRequest = 3600
MaxRequestSize = 2096128
MaxUploadSize = 2047
}
Binding {
BindingId = port_ssl
Port = 7777
#Interface = 0.0.0.0
MaxKeepAlive = 3600
TimeForRequest = 3600
MaxRequestSize = 2096128
MaxUploadSize = 2047
#RequiredCA = /usr/local/lxlabs/kloxo/etc/program.ca
TLScertFile = /usr/local/lxlabs/kloxo/etc/program.pem
}
## CF - no need for Virtual Host, all default to this:
Hostname = 0.0.0.0, ::
Alias = /.well-known/acme-challenge:/var/run/acme/acme-challenge
WebsiteRoot = /usr/local/lxlabs/kloxo/httpdocs
StartFile = index.php
SecureURL = no
UseFastCGI = PHP5
UseToolkit = block_shellshock, findindexfile
UseDirectory = static_file
TimeForCGI = 3600
ErrorHandler = 401:/error/401.html
ErrorHandler = 403:/error/403.html
#ErrorHandler = 404:/error/404.html
ErrorHandler = 404:/theme/lbin/sitepreview.php
ErrorHandler = 501:/error/501.html
ErrorHandler = 503:/error/503.html