Using Klaros with Apache reverse proxy

Maciej Sawicki, modified 13 Years ago.

Using Klaros with Apache reverse proxy

Youngling Posts: 5 Join Date: 1/27/11 Recent Posts
Hi,
I installed Klaros on our development server. I would like to make url little nicer. I setuped reverse proxy:


# mod_proxy setup.
ProxyRequests Off
ProxyPass /klaros-web http://127.0.0.1:18080/klaros-web
ProxyPassReverse /klaros-web http://127.0.0.1:18080/klaros-web

<Location "/klaros-web">
  # Configurations specific to this location. Add what you need.
  # For instance, you can add mod_proxy_html directives to fix
  # links in the HTML code. See link at end of this page about using
  # mod_proxy_html.

  # Allow access to this proxied URL location for everyone.
  Order allow,deny
  Allow from all
</Location>


It almost works, but there is issue with test execution. The pop up window is displaying login dialog instead of actual test case and it doesn't allow to login, so i can't continue executing.

I will appreciate any advice.

regards,
Maciej Sawicki
thumbnail
Tobias Schmitt, modified 13 Years ago.

RE: Using Klaros with Apache reverse proxy (Answer)

Padawan Posts: 71 Join Date: 2/12/09 Recent Posts
Hi Maciej,

can you please check the parameter "Application URL" in the category "Configure" in Klaros-Testmanagement. You can find it under "System Parameters | General". This parameter must be set to the new proxy URL of Klaros. Without this, Klaros will not work properly when running behind a proxy.

Regards,

Tobias Schmitt
Maciej Sawicki, modified 13 Years ago.

RE: Using Klaros with Apache reverse proxy

Youngling Posts: 5 Join Date: 1/27/11 Recent Posts
Hi Tobias,

Thank You for quick answer. the url wasn't set. After setting it to https://somedomain/klaros-web everything works grate.