Improvements #11715
openHow to configure fcgid.conf for Wt (Witty) C++ Web Application?
0%
Description
Hi,
I am trying to configure fcgid.conf file for Wt (witty) for apache2 2.4 on Ubuntu 23. I found a config file for FastCGI (not fcgid) and convert commands to fcgid ones using apache2 web page. But one is left FastCgiServer /var/www/html/hello.wt
Here is my full code:
<IfModule mod_fcgid.c>
AddHandler fcgid-script .wt
FcgidIPCDir /var/lib/apache2/fcgid
FcgidIdleTimeout 100
FcgidMaxProcessesPerClass 1
FcgidInitialEnv WT_APP_ROOT=/tmp
FastCgiServer /var/www/html/hello.wt (I want to find the equivalence for fcgid)
<IfModule mod_mime.c>
AddHandler fcgid-script .fcgi
</IfModule>
</IfModule>
How can I configure for witty? There is not enough documentation for this.
Updated by Matthias Van Ceulebroeck 4 months ago
Hello,
I believe you are looking for this.
Updated by Matthias Van Ceulebroeck 4 months ago
- Tracker changed from Support to Improvements
- Target version set to future
For beginners I really would not advise to use libwtfcgi
, but always to rely on the much more straight-forward libwthttp
. That avoids an extra configuration and a layer of indirection.
I will look into improving the documentation, but that will be on the longer term.