[Gambas-user] gb.web.gui application with apache2

Safiur Rahman isafiur at gmail.com
Thu Apr 30 16:03:29 CEST 2020


The related packages I used are followings:
http://www.safiur.com.np/container/webapps.zip

On 4/30/20, Safiur Rahman <isafiur at gmail.com> wrote:
> Hi Benoît
>
> I will explain you everything in detail. I am using ubuntu 19.04 with
> gambas daily build (ppa:gambas-team/gambas-daily). As the package
> doesn't contain gambas-gb.web.gui I downloaded the source code from
> the repository and created installable package and then installed.
> https://launchpad.net/~gambas-team/+archive/ubuntu/gambas-daily/+sourcefiles/gambas3/3.14.90+git6577.c443337+build179c7bb3~ubuntu19.10.1/gambas3_3.14.90+git6577.c443337+build179c7bb3~ubuntu19.10.1.tar.xz
>
> Apache2 installation:
> sudo apt install apache2
> cd /etc/apache2/mods-enabled
> sudo ln -s ../mods-available/cgi.load
> systemctl restart apache2
>
> I created two exact applications in gambas (New project -> Web Form
> Application):
> 1) testapp (with gb.web.form)
> 2) newapp (with gb.web.gui)
> I created installable package for both applications. As executables
> need to go to /usr/lib/cgi-bin/ folder I changed the target of both
> executables. I installed both. Now I can access both applications from
> my firefox browsers.
> 1) I can access http://localhost/cgi-bin/testapp
> 2) I cannot access http://localhost/cgi-bin/newapp .The apache2
> error.log produces following error:
> [Thu Apr 30 19:37:27.937666 2020] [cgi:error] [pid 774:tid
> 140524387108608] [client 127.0.0.1:38492] AH01215: gbx3: unable to
> find startup file: /usr/lib/cgi-bin/newapp
>
>
> Please guide me if I have done any mistake. Also tell me if you can
> run newapp (code attached) then I will format my system and retry.
> (All related codes and packages are attached)
>


-- 
Regards
Safiur Rahman


More information about the User mailing list