Troubleshooting
Problem
Cannot access RTM GUI with "Web Basic Authentication" enabled
Symptom
Enable "Web Basic Authentication" from Console -> Settings -> Authentication
When accessing RTM GUI, getting the following message Error: Web Basic Authentication configured, but no user name was
passed from the web server
Diagnosing The Problem
With "Web Basic Authentication" enabled, every page under http://<hostname>/cacti will be password protected. A pop-up window will ask for username and password.
To test, put a simple php file under {RTM_TOP}/cacti
test.php
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php echo '<p>Hello World</p>'; ?>
</body>
</html>
Access it using URL http://<hostname>/cacti/test.php
If no pop-up window show up for username and password and you can see the content immediately, then Web Basic Authentication is not configured properly and not working.
Resolving The Problem
Check Web Basic Authentication configurations
/etc/httpd/conf/httpd.conf
/etc/httpd/conf.d/<application.conf
Make sure settings are correct and not conflicting each other.
Reference: Apache Web Login Authentication
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
isg3T1022638