1. Sam Vafadar
  2. PowerServer 2020 or older (Obsolete)
  3. Tuesday, 19 March 2019 18:43 PM UTC

Hello,

I am doing a critical proof of concept that uses a reverse proxy from Apache to connect to our PowerServer Web application running in IIS.  I am seeing the following error regarding the Appeon plugin:

 

2nd/final page error

The reverse proxy is set up at http://x2r.mdc.cgi.com/pvr to point to our internal server running a Powerserver web application.  The strange this is that it first hits the correct page and tries to load the plugin however after a few seconds the 'webpage cannot be found message' is displayed with a plugin error.  You can see below the page it hits for a second working but its the above 2nd page screen which it errors on:

 

1st page

My reverse proxy is on a server running Apache and I've added the /pvr linking to a site in IIS inside the httpd.config file.

 

This is the settings in the apache web server config file:

RewriteEngine on
RewriteRule ^/pvr$ /pvr/ [R]



   ProxyPass http://xxx.xx.xx.xxx/pmsuite/pvr/
   ProxyPassReverse http://xxx.xx.xx.xxx/pmsuite/pvr/

ErrorLog /apps/httpd_2.4.25/logs/energy.errors

ProxyRequests Off

 

Please note the xxx.xx.xx.xx is the ip address of our internal server which I havent provided for security reasons.

I'm not sure if I need to add another link () in the reverse proxy settings to point to the /appeon web service and if so how do I do that ?

Here is a screenshot of the websites and appeon webservices setup in IIS on our internal server:

Please note the pvr application is pointing to a folder with the web application in the pmsuite folder.

 

Is there any limitations to use a proxy with appeon and has someone else done this in the past whom can give me some direction?

 

PS Our web applications are done in PowerBuilder 2017 R3 and using the toolkit deployed as .NET on the Internal Server running IIS.

Thank you in advance.

 

 

 

Kai Zhao @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 26 March 2019 01:24 AM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 1

Hi Sam,

It seems the issue caused by failed to download Appeon pluin from web server. Please run the Appeon setup program and install Appeon Server Web Component to the document root of the Apache HTTP Server, for example, %Apache%\htdocs\, it incude Appeon plugin.

BTW, Appeon web application work well with reverse proxy, for example: NGINX. But the NGINX( it may also work with your reverse proxy tool) would block the binary data, please work around this issue by following the steps below:
1. Go to the directory c:\Inetpub\wwwroot\appeon\AEM\config and open the file applications.config.
2. Locate to the profile of your applicattion.
3. Change 'true' to 'false' under your application section.
4. Restart the IIS.


Regards,
ZhaoKai

Comment
There are no comments made yet.
Sam Vafadar Accepted Answer Pending Moderation
  1. Tuesday, 19 March 2019 18:51 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 2

sorry the editor took the tags out of my config settings exampl above, here it is again the contents of the httpd.config file in apache:

 

 

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.