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

Benoit Minisini benoit.minisini at gambas-basic.org
Wed Jun 22 02:41:18 CEST 2022


Le 22/06/2022 à 01:19, Benoit Minisini a écrit :
> Le 21/06/2022 à 11:49, Martin a écrit :
>> El 20/6/22 a las 15:32, T Lee Davidson escribió:
>>> No, it is not that I can see - unless it is encoded in a format other 
>>> than plain text.
>>
>> in the html generated by baseweb.gambas is referenced the style file 
>> like this:
>> <link rel="stylesheet" href="/cgi-bin/baseweb.gambas/style:0.2.1.css">
>>
>>
>> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
> 
> I confirm there is a problem between 'gb.web.gui' and 'apache'. I'm 
> trying to figure what it is...
> 

No, actually there is no problem. :-)

BUT...

On Ubuntu, and maybe on other systems, apache2 systemd service is 
configured to use a private /tmp (i.e. what your script see as '/tmp' is 
actually '/tmp/systemd-private-<a lot of stuff>-apache2.service-<some 
other stuff>/tmp'.

It may make your program crash, and, alas, at the moment, you won't see 
the error only inside the 'error.log' file of the 'gb.web.gui' 
component, and that file is written only if there exists a 
'/tmp/session.debug' file - and that '/tmp' is the "private tmp"!.

-- 
Benoît Minisini.


More information about the User mailing list