Redirect login requests to FQDN

After upgrading to ovirt-engine 4 some of our users are receiving a message as follows.
The client is not authorized to request an authorization. It's required to access the system using FQDN.
Is there a way to direct ovirt login requests to the server's FQDN using mod_rewrite? I placed these rules in /etc/httpd.d/01- redirect.conf and restarted httpd however requests are never actually redirected. RewriteCond %{HTTP_HOST} !^ovirt-engine\.example\.com$ [NC,OR] RewriteRule ^ovirt-engine/(.*) https://ovirt-engine.example.com/ovirt-engine/$1 [L,R]

--Sig_/_O_NwesUfOQCe_2VbD+TVzB Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 9 Jan 2017 19:35:13 +0000 Michael wrote: MW> After upgrading to ovirt-engine 4 some of our users are receiving a MW> message as follows. MW>=20 MW> > The client is not authorized to request an authorization. It's requir= ed to MW> > access the system using FQDN. =20 I hit this annoying change as well. Create ovirt-engine/engine.conf.d/99-alternate-engine-fqdns.conf and add e.g. SSO_ALTERNATE_ENGINE_FQDNS=3D"ov.example.com" Robert --=20 Senior Software Engineer @ Parsons --Sig_/_O_NwesUfOQCe_2VbD+TVzB Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlhz7FgACgkQ7/fVLLY1mniiNQCfS5yZsrAYu3kMEvCPFcJkPEhx ExkAnA6FzQF4GbFKsIkLi+OXQspCghHu =S1Lr -----END PGP SIGNATURE----- --Sig_/_O_NwesUfOQCe_2VbD+TVzB--

Thank you. That appears to have fixed it. On Mon, 2017-01-09 at 15:02 -0500, Robert Story wrote:
On Mon, 9 Jan 2017 19:35:13 +0000 Michael wrote: MW> After upgrading to ovirt-engine 4 some of our users are receiving a MW> message as follows. MW> MW> > The client is not authorized to request an authorization. It's required to MW> > access the system using FQDN.
I hit this annoying change as well. Create ovirt-engine/engine.conf.d/99-alternate-engine-fqdns.conf and add e.g.
SSO_ALTERNATE_ENGINE_FQDNS="ov.example.com"
Robert
participants (2)
-
Michael Watters
-
Robert Story