[Gambas-user] Apache config
Marco Ancillotti
gambas at servinfo.it
Tue Oct 11 14:58:51 CEST 2022
Hi all,
is there a guide on how to configure apache to serve gambas web form ?
I have lighttpd that work but I need to setup an apache2 to serve my app.
This is my config:
<IfModule mod_alias.c>
<IfModule mod_cgi.c>
Define ENABLE_USR_LIB_CGI_BIN
</IfModule>
<IfModule mod_cgid.c>
Define ENABLE_USR_LIB_CGI_BIN
</IfModule>
<IfDefine ENABLE_USR_LIB_CGI_BIN>
ScriptAlias /gbx/ /var/www/html/gbx/
<Directory "/var/www/html/gbx">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Require all granted
AddHandler cgi-script .cgi .sh .pl .gambas
</Directory>
</IfDefine>
</IfModule>
When I run gambas program I see a gbr3 process defunct and the web
server log timeout:
AH01220: Timeout waiting for output from CGI script
/var/www/html/gbx/tcadmin
Script timed out before returning headers: tcadmin
Other cgi ( like perl ) work without problem.
Thank's in advance,
marco.
More information about the User
mailing list