You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Migrating cppcms to a new server, at first I couldn't get cppcms running at all, even a simple "hello world" cppcms web site.
I the logs, there were mentions of:
Unknown api: fastcgi
or:
Unknown api: http
Since I was migrating and upgrading the whole operating system, the whole toolchain was being upgraded at the same time: gcc, mod_fastcgi, new C++ standards, etc.
After much searching and investigating, it turned out to be a wrong configuration (apache vhost socket vs config.js service.socket....).
A more verbose output when failing to connect to a socket, or in case of a wrong setting in config.js would help.
The message "Unknown api: fastcgi" sent me down the wrong track since mod_fastcgi is not supported and I wondered if the new C++ language + new GCC compiler had broken something in that library. The problem was not with fastcgi at all, and cppcms should not report this.
I file this request here in case anyone else is facing the same problem.
Migrating cppcms to a new server, at first I couldn't get cppcms running at all, even a simple "hello world" cppcms web site.
I the logs, there were mentions of:
Unknown api: fastcgi
or:
Unknown api: http
Since I was migrating and upgrading the whole operating system, the whole toolchain was being upgraded at the same time: gcc, mod_fastcgi, new C++ standards, etc.
After much searching and investigating, it turned out to be a wrong configuration (apache vhost socket vs config.js service.socket....).
A more verbose output when failing to connect to a socket, or in case of a wrong setting in config.js would help.
The message "Unknown api: fastcgi" sent me down the wrong track since mod_fastcgi is not supported and I wondered if the new C++ language + new GCC compiler had broken something in that library. The problem was not with fastcgi at all, and cppcms should not report this.
I file this request here in case anyone else is facing the same problem.
Also, read carefully the official wiki:
http://cppcms.com/wikipp/en/page/cppcms_1x_config#service
http://cppcms.com/wikipp/en/page/cppcms_1x_tut_web_server_config
The text was updated successfully, but these errors were encountered: