Home > Web Front-end > HTML Tutorial > Zabbix2.0 page authorization parameters_html/css_WEB-ITnose

Zabbix2.0 page authorization parameters_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:49:46
Original
1475 people have browsed it

Background

Zabbix2.0 and CAS complete the SSO single sign-on function. Download the php code from the Internet, deploy it locally, use the default configuration, and then modify the Zabbix authorization file so that it has Log in based on the user name (the CAS configuration is relatively simple), and a page "ssoLoing.php" for SSO seriousness was added. After all the tests passed, it was deployed to the production server. It was found that when the address of ssoLogin.php was entered, it jumped to the indexer. .php login page. I suspected that it was a problem with the configuration file, and then modified the local zabbix configuration (using the Admin account to modify the configuration), and found that when disabling Guests and disabling front-end access, there will be a problem of jumping to index.php, as shown below:

Processing

Then I took a detour and searched for the php configuration file, but no relevant configuration was found. Later, I suspected that it was the database configuration. I checked the database and found no relevant configuration. , finally looked at the configuration of index.php, and found "define('ZBX_PAGE_NO_AUTHORIZATION', true);", and then configured the file in ssoLogin.php, as shown below, the authorization problem of the page has been solved, it is a simple problem It’s complicated, you should check the index.php file first.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template