I have used the hiawatha webserver for over 10 years in CGI mode.
This is the first time I have tried to use a fastCGI application. I write programs in C and Go with good success. I choose not to use PHP so am very interested in asmbb as an alternative to the many PHP based forum applications. I have 40 years experience as a programmer. (Yes, my beard is grey).
I have partial success in running the asmbb forum software under
hiawatha, using the installation instructions here:
The hiawatha configuration file, like .htaccess for apache, is stored
depending on the installation method.
Modifications to hiawatha.conf sections for asmbb are:
FastCGIid = asmbb
# Extension = # empty implies send all requests to this server
ConnectTo = /home/chris/www/asmbb/engine.sock
ToolkitID = asmbb
# RequestURI isfile Return
Match ^.*$ UseFastCGI asmbb
Hostname = asmbb.local
WebsiteRoot = /home/chris/www/asmbb
AccessLogfile = /usr/local/var/log/hiawatha/access.log
ErrorLogfile = /usr/local/var/log/hiawatha/error.log
# UseFastCGI = asmbb
UseToolkit = asmbb
/etc/systemd/system/asmbb.service is used by
systemd to control the asmbb daemon. It contains:
Description=AsmBB forum engine FastCGI script.
/etc/hosts file has asmbb.local as a domain on 127.0.0.1
All files in
/home/chris/asmbb are owned by www-data which
has group level access to the parent directory.
There is no mail server running on my local machine so the outbound verification email does not work.
Asmbb started and displayed the admin setup dialog if the
http://asmbb.local/!login/ url was used. Other activity
has been variable, either working or crashing the asmbb
daemon. The fault.txt file left in the working directory
with slight variation depending on the link used.
After some playing with restarting the asmbb daemon, deleting the fault.txt file(s), and clicking other links first, I was able to get the submit button to work and it accepted the admin login parameters.
Yesterday, I was able to login but many actions cause the asmbb daemon to crash.
http://asmbb.local causes the daemon to
http://asmbb.local/!login/ works. Clicking
the submit button causes the daemon to crash. After
clean-up and restart, using the
redisplays the login dialog however, the login link in
the top right corner has changed to
user profile link below logout displays
the profile as expected.
Clicking on the
show all threads icon causes a daemon
crash. There are zero threads at the moment.
So the application is not usable in its present state.
Two possible solutions come to mind:
1. a CGI only version of asmbb could be made and tested,
2. other users could provide better specification on this combination of application, webserver and operating system. This would require installing them and testing.
Any help you could provide is gratefully accepted.