Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Webvisu and Apache Mod_proxy

sallos
2018-06-03
2022-04-20
  • sallos

    sallos - 2018-06-03

    Hi,

    i have a Problem with the Webvisu.

    I want to output the Webvisu via a Mod_Proxy of an Apachen2 but I always get this error:

    "An error happened will automatically restart"

    My Apache Config:

    ProxyPass /SPK207/ http://192.168.2.XX:8080/

    https://WebAdress/SPK207/webvisu.htm is the Link..

    Has anyone possibly experiences?

    Thanks

     
  • eeyrsja

    eeyrsja - 2022-04-20

    I found this question while struggling with the same issue. The cause of the error message is that the webpage is looking for a file called WebVisuV3.bin at the root of the server, which is not properly mapped by the reverse proxy.

    The solution is to add another reverse proxy instruction for the WebVisuV3.bin file. This is my configuration:

    <Location /plc/>
      ProxyPass http://192.168.1.89:8080/
      Order allow,deny
      Allow from all
      ProxyPreserveHost On 
    </Location>
    
    <Location /WebVisuV3.bin>
      ProxyPass http://192.168.1.89:8080/WebVisuV3.bin
      Order allow,deny
      Allow from all 
      ProxyPreserveHost On 
    </Location>
    
     

    Last edit: eeyrsja 2022-04-20

Log in to post a comment.