Installed on Win2K box, when I point my browser to the server\cacti all I get is a directory of files? Am I suppose to run something else to get cacti up and going?
Thanks!
Cacti Directory
Moderators: Developers, Moderators
I don't know what webserver you're running, but you need to include "index.php" in the allowed directory index.
On apache just add the following to your httpd.confsorry, fixed my typo, so no one else gets confused
You probably already have something like this for index.html (and whatever else), just add index.php to the end of that line.
Not sure how to do this on other webservers-- but then, why use them
Aaron
On apache just add the following to your httpd.conf
Code: Select all
<IfModule mod_dir.c>
DirectoryInex index.html index.php
</IfModule>
You probably already have something like this for index.html (and whatever else), just add index.php to the end of that line.
Not sure how to do this on other webservers-- but then, why use them
Aaron
Last edited by yid on Wed Nov 13, 2002 3:31 pm, edited 1 time in total.
First of all if you haven't done it already correct settings from yid. Just a small bug - instead of "mod)dir.c" should be "mod_dir.c".
Now the stupid question: Have you installed PHP? If yes then check if in your httpd.conf there are the following lines:
If yes then you can also check one setting in php.ini called "short_open_tag". This should be set to "On".
- bulek
Now the stupid question: Have you installed PHP? If yes then check if in your httpd.conf there are the following lines:
Code: Select all
LoadModule php4_module <here_put_your_path>/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php
- bulek
When I add the LoadModule and AddModule it kills my apache server. I stop the server, add the code to HTTPD.CONF, restart the server and get an error "The Requested Operation has Failed!" I comment the LoadModule and AddModule and the server will start back up. This is the exact code I've put into HTTPD.CONF
Any ideas on this? I have checked the path to php4apache.dll and it is out there.
Code: Select all
LoadModule php4_module c:/php/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php
Try and just comment out: AddModule mod_php4.c
For further reading on the reasoning behind the suggestion, point your browser to here: http://groups.google.com/groups?dq=&hl= ... com&rnum=2
I hope this helps.
Flux
For further reading on the reasoning behind the suggestion, point your browser to here: http://groups.google.com/groups?dq=&hl= ... com&rnum=2
I hope this helps.
Flux
Who is online
Users browsing this forum: No registered users and 0 guests