Jump to content

Module Apache In Linux Server


OdontonetEs

Recommended Posts

Hello, the following happens to me:
I have deployed a UNIGUI module for Apache on a Linux server, everything has worked fine, except that when I open the application, certain controls are not updated, such as the TUniDBGRID control. I have a small dataset that I insert data into in the click event of a TuniButton, and it is not reflected in the grid.
Is it possible that I am omitting something when deploying to the Linux server?

image.png.4e9e17a799023e39abd1cf080d280a12.png

 

On the Linux server I have copied the unigui libraries as follows:

 

image.png.485902fccb7f214fabf7c974f1b2f5e8.png

 

Thanks

 

Link to comment
Share on other sites

The strange thing is that if I look at the module log (.so) I get this error:

[uniGUIApacheHandler[IP My Linux Server]]:EUniSessionException : Invalid session or session Timeout. (Invalid URI: /HandleEvent ) : Addr: $00007FEBC4FE2AC5

But the application as such does not stop working

Link to comment
Share on other sites

  • Administrators

In file uniGUIApache.pas please make following change: (Replace below array)

  HTTPRequestHeaders : array [1..58] of string = (
    'A-IM',
    'Accept',
    'Accept-Charset',
    'Accept-Datetime',
    'Accept-Encoding',
    'Accept-Language',
    'Access-Control-Request-Method',
    'Access-Control-Request-Headers',
    'Authorization',
    'Cache-Control',
    'Connection',
    'Content-Encoding',
    'Content-Length',
    'Content-MD5',
    'Content-Type',
    'Cookie',
    'Date',
    'Expect',
    'Forwarded',
    'From',
    'Host',
    'HTTP2-Settings',
    'If-Match',
    'If-Modified-Since',
    'If-None-Match',
    'If-Range',
    'If-Unmodified-Since',
    'Max-Forwards',
    'Origin',
    'Pragma',
    'Proxy-Authorization',
    'Range',
    'Referer',
    'TE',
    'Trailer',
    'Transfer-Encoding',
    'User-Agent',
    'Upgrade',
    'Via',
    'Warning',
    'Upgrade-Insecure-Requests',
    'X-Requested-With',
    'DNT',
    'X-Forwarded-For',
    'X-Forwarded-Host',
    'X-Forwarded-Proto',
    'Front-End-Https',
    'X-Http-Method-Override',
    'X-ATT-DeviceId',
    'X-Wap-Profile',
    'Proxy-Connection',
    'X-UIDH',
    'X-Csrf-Token',
    'X-Request-ID',
    'X-Correlation-ID',
    'Save-Data',
    '_s_id',
    'Unisessionid'
  );

 

Link to comment
Share on other sites

  • Administrators
3 minutes ago, OdontonetEs said:

Thanks,

I'll try it in a few minutes and let you know.

 

it also happened to me with the items of a TUniTreeMenu control that I use in a RADCORE project, do you think it would be solved with this change too?

Yes, both are same issue.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...