ConSol-Monitoring / omd

OMD - Open Monitoring Distribution Labs Edition.
http://omd.consol.de
GNU General Public License v2.0
171 stars 35 forks source link

login page broken with Thruk cookie auth #201

Closed jstark1 closed 1 month ago

jstark1 commented 1 month ago

CSS styles and JS in the login form should be allowed.

grafik

I am using the omd-labs-debian:nightly container

sni commented 1 month ago

thanks for reporting this, i thought this issue was fixed already. I'll have a look at the container images.

sni commented 1 month ago

i cannot reproduce this. Can you double check the etc/apache/conf.d/thruk_cookie_auth.conf

Line 29 should look like this: RewriteRule ^/(.*)$ /auth:%1/%{REMOTE_ADDR}~~%{HTTP:Authorization}~~%{HTTP?.... the important part is the auth: prefix.

Or check with omd diff etc/thruk/apache_cookie_auth.conf if there are local adjustments.

jstark1 commented 1 month ago

Ah, there's the problem. Is there an easy way to update unchanged files from the Skel directory in the container, like "omd update" does for "normal" installations?

sni commented 1 month ago

no, the container are intendend for one-time tests only and should be removed and recreated afterwards. There is no update path for the container images.