[Gambas-user] Apache + Gambas Web form how to

Martin mbelmonte at belmotek.net
Thu Jun 16 23:04:28 CEST 2022


Hi,
My web app doesn't work.

- Apache server is running
- Gambas app is ok
- I run a test console app in the server (print Helow world) its works.

Server:

/usr/lib/cgi-bin/myapp.gambas

cat /etc/apache2/conf-available/serve-cgi-bin.conf

<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 /cgi-bin/ /usr/lib/cgi-bin/
                 <Directory "/usr/lib/cgi-bin">
                         AllowOverride None
                         Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
                         AddHandler cgi-script .cgi .py .sh .pl .gb .gbs 
.gambas
                         Require all granted
                 </Directory>
         </IfDefine>
</IfModule>


Browser:
http://nnn.nnn.nnn.nnn/cgi-bin/myapp.gambas

Internal Server Error
The server encountered an internal error or misconfiguration and was 
unable to complete your request.

Please contact the server administrator at webmaster at localhost to inform 
them of the time this error occurred, and the actions you performed just 
before this error.

More information about this error may be available in the server error log.

Apache/2.4.53 (Debian) Server at nnn.nnn.nnn.nnn Port 80

¿What I'm doing wrong?
Best regards


More information about the User mailing list