Talk:Cacti

From ArchWiki
Jump to: navigation, search

For use with lighttpd

I used this config for setting it up with lighttpd (/etc/lighttpd/lighttpd.conf). Is somebody else needs anything specific please indicate.

# This is a minimal example config
# See /usr/share/doc/lighttpd
# and http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ConfigurationOptions

server.port             = 80
server.username         = "http"
server.groupname        = "http"
server.document-root    = "/srv/http"
server.errorlog         = "/var/log/lighttpd/error.log"
dir-listing.activate    = "enable"
index-file.names        = ( "index.html" )
mimetype.assign         = (
                                ".html" => "text/html",
                                ".txt" => "text/plain",
                                ".css" => "text/css",
                                ".js" => "application/x-javascript",
                                ".jpg" => "image/jpeg",
                                ".jpeg" => "image/jpeg",
                                ".gif" => "image/gif",
                                ".png" => "image/png",
                                "" => "application/octet-stream"
                        )
include "conf.d/cgi.conf"
include "
include "conf.d/fastcgi.conf"
server.modules += (     "mod_alias",
                        "mod_fastcgi",
                        "mod_cgi"
)
alias.url = ( "/cacti" => "/usr/share/webapps/cacti" )
#alias.url += ( "/phpmyadmin" => "/usr/share/webapps/phpMyAdmin/")