CMK version: 2.0.0p30cre
OS version: Oracle Linux Server release 8.7
Error message: None.
We have some kiosk accessing to checkMk dashboard using username and password embedded in the url.
To make the url easier to be typed and to void some issues with the certification authority which releases our SSL certificate, we created a virtualhost on apache webserver acting as ssl terminator and which adds username and password using a rewrite rule so we don’t need to left username and password around.
For example:
-
Kiosk calls this url:
http://tv.mydomain.it/mo/
-
On “tv.mydomain.it” there is a location like this:
<Location /mo/>
ProxyPreserveHost on
ProxyPass https://mysite.mydomain.it/
ProxyPassReverse /
ProxyPassReverse https://mysite.mydomain.it/
</Location>
- and rewrite rule like this:
Rewriterule ^/mo/$ https://mysite.mydomain.it/mo_master/check_mk/login.py?_origtarget=/mo_master/check_mk/dashboard.py?name=lep_simple_problems&_username=tv&_password=mypassword&_login=1 [P]
Everything is working until the update to the version 2.0.0p30 and is still working on some non-updated site which are still on 2.0.0p26.
Now when we call the url http://tv.mydomain.it/mo/
instead of having the dashboard shown at this url
http://tv.mydomain.it/mo/mo_master/check_mk/dashboard.py?name=lep_simple_problems
we get the login page so it seems the auth info were missed.
http://tv.mydomain.it/mo/mo_master/check_mk/login.py?_origtarget=index.py%3Fstart_url%3Ddashboard.py%253Fname%253Dlep_simple_problems
Any idea to point us to the right direction?