var.basedir = "/var/www/localhost" var.logdir = "/var/log/lighttpd" var.statedir = "/var/lib/lighttpd" server.modules = ( "mod_alias", "mod_access", # "mod_magnet", # "mod_setenv", "mod_accesslog" ) include "mime-types.conf" include "mod_cgi.conf" server.username = "lighttpd" server.groupname = "lighttpd" server.document-root = var.basedir + "/htdocs" server.pid-file = "/var/run/lighttpd.pid" server.errorlog = var.logdir + "/error.log" server.indexfiles = ("index.php", "index.html", "index.htm", "default.htm") server.follow-symlink = "enable" alias.url += ( "/otrs-web" => "/opt/otrs/var/httpd/htdocs", "/otrs" => "/opt/otrs/bin/cgi-bin" ) $HTTP["url"] =~ "^/otrs" { cgi.assign = ( "" => "") index-file.names=("index.pl") }