gb.web on a server

For questions about Gambas web tools.
User avatar
BruceSteers
Posts: 1505
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

gb.web on a server

Post by BruceSteers »

Has anyone got a GB.web app working in n their web server (not local apache)

I'm with one.com same as this forum.

I read wiki how-to but still not getting anything.
I put the compiled gambas app in cgi-bin but when I try to access it it just downloads to download folder.

Could do with an example or 2
Tia
Bruce
If at first you don't succeed , try doing something differently.
BruceS
User avatar
BruceSteers
Posts: 1505
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

Re: gb.web on a server

Post by BruceSteers »

I want to make this a gambas web cgi if poss...
https://bws.org.uk/gambasmods.php

That page auto-creates from a folder structure...
there's a gmods folder containing the component name folders like gb.args gb.desktop.
in the component folders there are archives accompanied by a .txt file of the same name.
so there's Args.Advanced.zip and Args.Advanced.zip.txt

So i just now have to add archives and txt files to add the the collection..

wanna gambas it up though ;)
If at first you don't succeed , try doing something differently.
BruceS
User avatar
BruceSteers
Posts: 1505
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

Re: gb.web on a server

Post by BruceSteers »

Is the gambas playground a gb.web thing?
If at first you don't succeed , try doing something differently.
BruceS
User avatar
cogier
Site Admin
Posts: 1117
Joined: Wednesday 21st September 2016 2:22pm
Location: Guernsey, Channel Islands

Re: gb.web on a server

Post by cogier »

The Playground is linked to Gambas.One. The work is done by a 'droplet' on Digital Ocean. Costs about $6 a month. You can start for free here. The droplet contains Ubuntu (no GUI). Ubuntu was picked so that we could use the ppa to keep Gambas updated. The project was the work of my friend Matt and is available here. A similar process is used for the Gambas Farm on Gambas.One.
User avatar
BruceSteers
Posts: 1505
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

Re: gb.web on a server

Post by BruceSteers »

cogier wrote: Wednesday 6th July 2022 2:52pm The Playground is linked to Gambas.One. The work is done by a 'droplet' on Digital Ocean. Costs about $6 a month. You can start for free here. The droplet contains Ubuntu (no GUI). Ubuntu was picked so that we could use the ppa to keep Gambas updated. The project was the work of my friend Matt and is available here. A similar process is used for the Gambas Farm on Gambas.One.
Aah so if gambas is installed does that mean you can also run full on gb.web.form programs?
Seems a cool way to go and may be worth a look.

No luck trying to get gb.web cgi applications running online though?
If at first you don't succeed , try doing something differently.
BruceS
User avatar
BruceSteers
Posts: 1505
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

Re: gb.web on a server

Post by BruceSteers »

Can anyone tell me why if i make a link and point it to my gambas cgi app when clicking it all it does is download the cgi not run it?

TIA
Bruce
If at first you don't succeed , try doing something differently.
BruceS
User avatar
BruceSteers
Posts: 1505
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

Re: gb.web on a server

Post by BruceSteers »

BruceSteers wrote: Wednesday 13th July 2022 10:35am Can anyone tell me why if i make a link and point it to my gambas cgi app when clicking it all it does is download the cgi not run it?

TIA
Bruce
Never mind I figured it out :)
I now have gb.web things working :)
If at first you don't succeed , try doing something differently.
BruceS
User avatar
BruceSteers
Posts: 1505
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

Re: gb.web on a server

Post by BruceSteers »

If at first you don't succeed , try doing something differently.
BruceS
User avatar
BruceSteers
Posts: 1505
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

Re: gb.web on a server

Post by BruceSteers »

gb.web gambas compile/install app anyone?
Click here to see online page @ bws.org.uk/cgi-bin/WebGambasUpgrade.gambas
Untitled.png
Untitled.png (230.16 KiB) Viewed 4824 times
(just having a play)
If at first you don't succeed , try doing something differently.
BruceS
User avatar
gbWilly
Posts: 68
Joined: Friday 23rd September 2016 11:41am
Location: Netherlands
Contact:

Re: gb.web on a server

Post by gbWilly »


BruceSteers wrote: ↑
Wednesday 13th July 2022 12:35pm
Can anyone tell me why if i make a link and point it to my gambas cgi app when clicking it all it does is download the cgi not run it?

TIA
Bruce
Never mind I figured it out :)
I now have gb.web things working :)
Hi Bruce, could you explain why it didn't work at first and how you made it work.

I'm planning on running a Gambas based webserver myself somewhere in the near future.
I know it is very hard to find good documentation on how to set it up and get it working as I have been looking into this many times before.

I'll be running the Gambas based website on an Apache server as I have the most experience with running these.
Any help, links to documentation or whatever helped you get it running is much appreciated.
gbWilly
- Dutch translation for Gambas3
- Gambas wiki content contributer


... there is always a Catch if things go wrong!
Post Reply