Cacti giving me its own index
first of all id like to apologise for my newbie question but i have installed cacti and when i do the http://myserver/cacti im getting the index of the /cacti directory and not the login screen. what might the problem be?
I am running cacti on linux fedora core 3 and i have php4 installed and ofcourse i have a cronjob going on pointing towards the cacti directory. thanks |
It sounds like a PHP problem. Make sure that php4 is either being loaded as an apache module, or is compiled into apache. If PHP is running, you should be able to create a file in /var/www called php.php, with the following in it:
Code:
<HTML> I hope this helps --Ian |
thanks for ur reply. but how do i run thr php.php file since i havent created any virtual hosting on the apache and the apache main root is in /usr/local/apache2/htdocs ? how am i going to view the file?
thanks a lot |
|
i have put php.php in /var/www/ but when i go to the webbrowser and type php.php it gives me file not found error.
thx again for ur reply |
Another alternative is to create a directory in your home directory called public_html, and then put php.php in there. You should be able to access it with http://localhost/~yourUserName.
This is what you should see. (NB: I have apache on a non-standard port, but that won't make any difference). --Ian |
All times are GMT -5. The time now is 01:27 AM. |