cacti index.php forwards to the wrong Physical Path

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
dmitry86
Posts: 4
Joined: Fri Apr 06, 2012 9:53 am

cacti index.php forwards to the wrong Physical Path

Post by dmitry86 »

Hi All,

I have done fresh install of cacti 0.8.8 on Windows.

Everything was done according to the instruction and I suppose all steps were correct, apart from the last one - Configure Cacti.

When I try to open http://localhost/cacti the link immediately forwards me to the Physical Path C:\inetpub\wwwroot\install\ even though installation folder location is inside .../wwwroot/cacti/.

Image

If I use http://localhost/cacti/install/ I get a Cacti Installation Guide screen, but I am not willing to continue unless issue resolve.

Appreciate for your kind advice.

Thank you
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: cacti index.php forwards to the wrong Physical Path

Post by BSOD2600 »

Did you forget to set the url path in /cacti/include/config.php ?
dmitry86
Posts: 4
Joined: Fri Apr 06, 2012 9:53 am

Re: cacti index.php forwards to the wrong Physical Path

Post by dmitry86 »

Hi BSOD2600, thanks for your feedback,

Here is my config:

Code: Select all

/* make sure these values refect your actual database/host/user/password */
$database_type = "mysql";
$database_default = "cacti";
$database_hostname = "localhost";
$database_username = "root";
$database_password = "password";
$database_port = "3306";
$database_ssl = false;

/*
   Edit this to point to the default URL of your Cacti install
   ex: if your cacti install as at http://serverip/cacti/ this
   would be set to /cacti/
*/
//$url_path = "/cacti/";

/* Default session name - Session name must contain alpha characters */
//$cacti_session_name = "Cacti";

?>
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: cacti index.php forwards to the wrong Physical Path

Post by BSOD2600 »

Where do your cacti files reside? $url_path likely needs to be uncommented and corrected.
dmitry86
Posts: 4
Joined: Fri Apr 06, 2012 9:53 am

Re: cacti index.php forwards to the wrong Physical Path

Post by dmitry86 »

Hi Bsod,

Thank you very much, I just uncommented the $url_path and now it opens http://localhost/cacti/install by default.

The only thing which I have now, installation path says php.exe not found although it is in C:\php and no rrdtool.exe file in the rrdtool archive..
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: cacti index.php forwards to the wrong Physical Path

Post by BSOD2600 »

That signifies the NTFS permissions are incorrect, such that the IIS service is unable to read/execute php.exe and rrdtool.exe. http://docs.cacti.net/ has instructions on the correct basic security settings.
dmitry86
Posts: 4
Joined: Fri Apr 06, 2012 9:53 am

Re: cacti index.php forwards to the wrong Physical Path

Post by dmitry86 »

I am fixing it now, but I can't find rrdtool.exe inside rrdtool-1.4.7 archive
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: cacti index.php forwards to the wrong Physical Path

Post by BSOD2600 »

link to the rrdtool 1.4.7 file you're talking about? I wasn't aware anyone else has been compiling win32 builds of rrdtool 1.4.x lately.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests