Apache "it works!" after login

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
MisterKrabs
Posts: 2
Joined: Sun May 12, 2013 7:16 am

Apache "it works!" after login

Post by MisterKrabs »

Hi Guys,
I searched several days for a solution by now, so now I'm posting here. I haven't found any helpful info, but maybe it's because I'm new to Linux.

I have a dozen of 1-Wire temperature probes hooked up to a Raspberry Pi via DS2482-800 and it works great so far. But now, to ease the hassle involved with creating rrd-graphs manually, I installed the cacti package via apt-get. It installs a boatload of dependencies like apache and php and much more. The installation runs relatively flawless, sometimes prompting for passwords.

After installation I can run the initial setup from (in my case) localhost/cacti, and this initial setup seems to get the settings right.
After installation however, whenever I try to login as admin/admin (with other combinations it gives of course the "invalid user/pass"-error), it drops back to localhost, stating only "it works" (which is a default apache-page?).
It is probably not configured correctly, but I do not where to look or what to do.

Please, don't be too harsh on me, I'm trying and new to the matter :)
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Apache "it works!" after login

Post by gandalf »

Looks like a configuration issue with httpd, but only a guess
R.
MisterKrabs
Posts: 2
Joined: Sun May 12, 2013 7:16 am

Re: Apache "it works!" after login

Post by MisterKrabs »

Thank you for your reply. I might have forgot to mention that it drops back to localhost instead of something like localhost/cacti
Can anybody tell me what the config files should look like or what else steps are necessary in a vanilla install?
paulgevers
Cacti Pro User
Posts: 613
Joined: Tue Aug 29, 2006 4:09 pm
Location: NL

Re: Apache "it works!" after login

Post by paulgevers »

MisterKrabs wrote:Thank you for your reply. I might have forgot to mention that it drops back to localhost instead of something like localhost/cacti
Can anybody tell me what the config files should look like or what else steps are necessary in a vanilla install?
For a starter we would need to know which version of Debian you are using (I assume Debian as you said apt-get). Which version of cacti? For packages of 0.8.7i and up, you should have a look at /etc/cacti/debian.php and check the line with $url_path
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests