hi everyone,
I don’t know if my situation is the same as everyone’s in the configuration process. Describe my situation about the 500 error.
Of course, the version is also 1.8.x, installed through yum.
If you use basic system user authentication instead of LDAP and other authentication servers, the 500 error on the web page is indeed related to the auth configuration. As @azric mentioned after I adopted the following configuration, it never happened There has been a prompt of 500.
The creation of web users is done with the following one-line command:
scl enable ondemand - htpasswd -c /opt/rh/httpd24/root/etc/httpd/.htpasswd kuankuan
“kuankuan” is a user name.
In the /etc/ood/config/ood_portal.yml configuration file, the following configuration is added:
auth:
-'AuthType Basic'
-'AuthName "OnDemand"'
-'AuthUserFile "/opt/rh/httpd24/root/etc/httpd/.htpasswd"'
-'Require valid-user'
AuthUserFile’s cultural structure must be real.