Welcome, Guest
Username: Password: Remember me

TOPIC: OpPlaceWEB

OpPlaceWEB 1 year 10 months ago #11462

  • Sébastien
  • Sébastien's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 175
  • Thank you received: 2
  • Karma: 0
Hello,
I tried the OpPlace_web I could get the Index.html page only by opening it directly.
How to get it in : http://" my project " /pwr_web/index.html ?

here are my captures in RUN and STOP of the runtime .


Capturedcran2022-06-1022.57.38.jpg


Capturedcran2022-06-1022.57.04.jpg


Capturedcran2022-06-1022.59.19.jpg





Thanks a lot for your help
SEB
The administrator has disabled public write access.

OpPlaceWEB 1 year 10 months ago #11463

  • Sébastien
  • Sébastien's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 175
  • Thank you received: 2
  • Karma: 0
Bonjour, donc voici ce que j'ai pu comprendre avec la doc de ProviewR :

Capturedcran2022-06-1119.57.19.jpg



Comment afficher les synoptiques IHM1 ou IHM2? pas d'autorisation ?

En vous remerciant!

Merci à vous
SEB
The administrator has disabled public write access.

OpPlaceWEB 1 year 10 months ago #11464

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3179
  • Thank you received: 502
  • Karma: 133
Bonjour Seb,

It's DefaultWebPriv and WebSystemGroup in the $Security object that controls the web access. You will find the $Security object under te $Node object. DefaultWebPriv is used for not logged in users and by adding Write privileges you can allow anyone to set values. If you prefer to allow write only to logged in users, you have to specify a valid system group in WebSystemGroup that contains users with write privileges (the default common.web doesn't exist so login is not possible by default).

/Claes
The administrator has disabled public write access.

OpPlaceWEB 1 year 10 months ago #11466

  • Sébastien
  • Sébastien's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 175
  • Thank you received: 2
  • Karma: 0
Bonjour Claes,
Thanks a lot for the great information,
Have a nice day.

/Seb island Réunion
SEB
The administrator has disabled public write access.

OpPlaceWEB 1 year 10 months ago #11476

  • Sébastien
  • Sébastien's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 175
  • Thank you received: 2
  • Karma: 0
Hi Claes,
I managed to get a part of the project and I still can't display my synoptic views from ProviewR on the web page. By reading several times the help of the OpPlaceWeb class I still can't do it : black screen ..or error code 123456..
Do you have an example or a tutorial ?
Thank you very much
/SEB

Capturedcran2022-06-1811.06.50.jpg


Je pense que je fais pas bien les réglages ou autres ...
SEB
The administrator has disabled public write access.

OpPlaceWEB 1 year 10 months ago #11477

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3179
  • Thank you received: 502
  • Karma: 133
Hi Seb,

Here is an example.

I've installed apache2 and added pwrp_web to /etc/apache2/apache2.conf
Alias /pwrp_web/ /pwrp/common/web/

<Directory /pwrp/common/web>
  AllowOverride None
  Require all granted
</Directory>

The node configuration with OpPlaceWeb and WebSocketServer


web1.png


The result


web2.png



/Claes
The administrator has disabled public write access.
Time to create page: 7.902 seconds