# Debian lighttpd configuration file
#
############ Options you really have to take care of ####################
## modules to load
# mod_access, mod_accesslog and mod_alias are loaded by default
# all other module should only be loaded if neccesary
# - saves some time
# - saves memory
server.modules = (
"mod_access",
"mod_alias",
"mod_accesslog",
# "mod_geoip",
"mod_fastcgi",
"mod_rewrite",
# "mod_redirect",
# "mod_status",
# "mod_evhost",
"mod_compress",
# "mod_usertrack",
# "mod_rrdtool",
# "mod_webdav",
# "mod_expire",
# "mod_flv_streaming",
# "mod_evasive",
# "mod_magnet",
"mod_simple_vhost",
# "mod_proxy",
# "mod_auth",
# "mod_cgi",
# "mod_ssi",
# "mod_userdir"
)
$HTTP["useragent"] =~ "libwww-perl"{
url.access-deny = ( " " )
}
static-file.exclude-extensions = ( ".fcgi", ".php", ".rb", "~", ".inc" )
## a static document-root, for virtual-hosting take look at the
## server.virtual-* options
server.document-root = "/var/www/web0/html"
## where to send error-messages to
server.errorlog = "/var/log/lighttpd/error.log"
## files to check for if .../ is requested
index-file.names = ( "index.php", "index.html", "index.htm", "default.htm", "index.pl")
## Use the "Content-Type" extended attribute to obtain mime type if possible
mimetype.use-xattr = "enable"
#### accesslog module
accesslog.filename = "/var/log/lighttpd/access.log"
## deny access the file-extensions
#
# ~ is for backupfiles from vi, emacs, joe, ...
# .inc is often used for code includes which should in general not be part
# of the document-root
url.access-deny = ( " " )
######### Options that are good to be but not neccesary to be changed #######
## bind to port (default: 80)
server.port = 80
## bind to localhost only (default: all interfaces)
#server.bind = "localhost"
## error-handler for status 404
server.error-handler-404 = "/tool/Error404/errormail.php"
## to help the rc.scripts
server.pid-file = "/var/run/lighttpd.pid"
##
## Format: <errorfile-prefix><status>.html
## -> ..../status-404.html for 'File not found'
server.errorfile-prefix = "/tool/Error404/errormail.php"
## virtual directory listings
dir-listing.encoding = "UTF-8"
server.dir-listing = "disable"
## send unhandled HTTP-header headers to error-log
#debug.dump-unknown-headers = "enable"
### only root can use these options
#
# chroot() to directory (default: no chroot() )
#server.chroot = "/"
## change uid to <uid> (default: don't care)
server.username = "www-data"
## change uid to <uid> (default: don't care)
server.groupname = "www-data"
#### compress module
#compress.cache-dir = "/lighttpd/compress/"
#compress.filetype = ("text/plain", "text/html")
#### status module
#status.status-url = "/server-status"
#status.config-url = "/server-config"
#### url handling modules (rewrite, redirect, access)
url.rewrite-once = ("^/a.html$" => "/index1.php?id=a",
"^/b.html$" => "/index1.php?id=b",
"^/c.html$" => "/index1.php?id=c",
"^/d.html$" => "/index1.php?id=d",
"^/e.html$" => "/index1.php?id=e",
"^/f.html$" => "/index1.php?id=f",
"^/g.html$" => "/index1.php?id=g",
"^/h.html$" => "/index1.php?id=h",
"^/i.html$" => "/index1.php?id=i",
"^/j.html$" => "/index1.php?id=j",
"^/k.html$" => "/index1.php?id=k",
"^/l.html$" => "/index1.php?id=l",
"^/m.html$" => "/index1.php?id=m",
"^/n.html$" => "/index1.php?id=n",
"^/o.html$" => "/index1.php?id=o",
"^/p.html$" => "/index1.php?id=p",
"^/q.html$" => "/index1.php?id=q",
"^/r.html$" => "/index1.php?id=r",
"^/s.html$" => "/index1.php?id=s",
"^/t.html$" => "/index1.php?id=t",
"^/u.html$" => "/index1.php?id=u",
"^/v.html$" => "/index1.php?id=v",
"^/w.html$" => "/index1.php?id=w",
"^/x.html$" => "/index1.php?id=x",
"^/y.html$" => "/index1.php?id=y",
"^/z.html$" => "/index1.php?id=z",
"^/registrieren.html$" => "/index1.php?id=registrieren",
"^/aktivieren.html$" => "/index1.php?id=aktivieren",
"^/drogen/uebersicht.html$" => "/drogen/uebersicht.php",
"^/house.html$" => "/index1.php?id=house",
"^/garage.html$" => "/index1.php?id=garage",
"^/acid-house.html$" => "/index1.php?id=acid-house",
"^/handbag-hardbag.html$" => "/index1.php?id=handbag-hardbag",
"^/progressiv-house.html$" => "/index1.php?id=p-house",
"^/hiphouse.html$" => "/index1.php?id=hiphouse",
"^/speedgarage.html$" => "/index1.php?id=s-garage",
"^/techno.html$" => "/index1.php?id=techno",
"^/electro.html$" => "/index1.php?id=electro",
"^/techno2.html$" => "/index1.php?id=techno2",
"^/intelligenz_minimalismus.html$" => "/index1.php?id=intelligenz_minimalismus",
"^/trance.html$" => "/index1.php?id=trance",
"^/trance-hardtrance.html$" => "/index1.php?id=trance-hardtrance",
"^/acidtrance.html$" => "/index1.php?id=atrance",
"^/goa-trance.html$" => "/index1.php?id=gtrance",
"^/psychedelic-trance.html$" => "/index1.php?id=psych-trance",
"^/dancefloor.html$" => "/index1.php?id=dancefloor",
"^/euro-techno.html$" => "/index1.php?id=eu-techno",
"^/breakbeat.html$" => "/index1.php?id=breakbeat",
"^/hardcore.html$" => "/index1.php?id=hardcore",
"^/jungle.html$" => "/index1.php?id=jungle",
"^/drum-bass.html$" => "/index1.php?id=drum-bass",
"^/triphop.html$" => "/index1.php?id=triphop",
"^/big_beats.html$" => "/index1.php?id=big_beats",
"^/gabber.html$" => "/index1.php?id=gabber",
"^/happy-hardcore.html$" => "/index1.php?id=happy-hardcore",
"^/ambient.html$" => "/index1.php?id=ambient",
"^/chill_out.html$" => "/index1.php?id=chill_out",
"^/posteingang.html$" => "/index1.php?id=posteingang",
"^/postausgang.html$" => "/index1.php?id=postausgang",
"^/partyplaner.html$" => "/index1.php?id=partyplaner",
"^/partyplaner.html;eintrag=([0-9]+)$" => "/index1.php?id=partyplaner&eintrag=$1",
"^/savebox.html$" => "/index1.php?id=savebox",
"^/news.html$" => "/index1.php?id=news",
"^/news.html;eintrag=([0-9]+)$" => "/index1.php?id=news&eintrag=$1",
"^/newsartikel_([0-9]+).html$" => "/index1.php?id=news_mehr&id1=$1",
"^/profil_([0-9]+).html$" => "/index1.php?id=profil_anschauen&details=$1",
"^/profil_([0-9]+).html;action=buddyadden$" => "/index1.php?id=profil_anschauen&details=$1&action=buddyadden",
"^/profil_([0-9]+).html;action=loeschen2$" => "/index1.php?id=profil_anschauen&details=$1&action=loeschen2",
"^/profil_([0-9]+).html;action=loeschen$" => "/index1.php?id=profil_anschauen&details=$1&action=loeschen",
"^/profil_([0-9]+).html;action=ignore$" => "/index1.php?id=profil_anschauen&details=$1&action=ignore",
"^/profil_bearbeiten.html$" => "/index1.php?id=profil_bearbeiten",
"^/profil_bearbeiten.html;persoenliches$" => "/index1.php?id=persoenliches",
"^/profil_bearbeiten.html;privatsphaere$" => "/index1.php?id=privatsphaere",
"^/profil_bearbeiten.html;kontakt$" => "/index1.php?id=profil_bearbeiten_kontakt",
"^/profil_bearbeiten.html;profilbild$" => "/index1.php?id=profil_bearbeiten_profilbild",
"^/profil_bearbeiten.html;charakter$" => "/index1.php?id=charakter",
"^/profil_bearbeiten.html;freizeit$" => "/index1.php?id=freizeit",
"^/profil_bearbeiten.html;musik$" => "/index1.php?id=musik",
"^/profil_bearbeiten.html;kommentar$" => "/index1.php?id=kommentar",
"^/profil_loeschen.html$" => "/index1.php?id=profil_loeschen",
"^/buddylist.html$" => "/index1.php?id=buddylist",
"^/buddylist.html;eintrag=([0-9]+)$" => "/index1.php?id=buddylist&eintrag=$1",
"^/buddylist_update.html;buddy=([0-9]+)$" => "/index1.php?id=buddylist&action=update&buddy=$1",
"^/buddylist_delete_buddy.html;buddy=([0-9]+)$" => "/index1.php?id=buddylist&action1=delete&buddy=$1",
"^/buddylist.html;my_buddy=([0-9]+)$" => "/index1.php?id=buddylist&action2=delete&buddy=$1",
"^/ignorelist.html$" => "/index1.php?id=ignorelist",
"^/ignorelist.html;eintrag=([0-9]+)$" => "/index1.php?id=ignorelist&eintrag=$1",
"^/login.html$" => "/index1.php?id=login",
"^/fotoalbum.html$" => "/index1.php?id=fotoalbum",
"^/fotoalbum.html;bearbeiten;([0-9]+)$" => "/index1.php?id=fotoalbum_bearbeiten&bearbeiten=$1",
"^/fotoalbum.html;bearbeiten;([0-9]+);eintrag=([0-9]+)$" => "/index1.php?id=fotoalbum_bearbeiten&bearbeiten=$1&eintrag=$2",
"^/board.html;([0-9]+)$" => "/index1.php?id=forum_board&kategorie=$1",
"^/board.html;([0-9]+);neues_thema_starten?erstellen=Neues+Thema+starten$" => "/index1.php?id=forum_board&kategorie=$1&erstellen=1",
"^/board.html;([0-9]+);neues_thema_starten$" => "/index1.php?id=forum_board&kategorie=$1&erstellen=1",
"^/board.html;([0-9]+);eintrag=([0-9]+)$" => "/index1.php?id=forum_board&kategorie=$1&eintrag=$2",
"^/thread.html;([0-9]+)$" => "/index1.php?id=thread&thread_id=$1",
"^/thread.html;([0-9]+);bearbeiten;([0-9]+)$" => "/index1.php?id=thread&thread_id=$1&bearbeiten=$2",
"^/thread.html;([0-9]+);bearbeiten;([0-9]+);eintrag=([0-9]+)$" => "/index1.php?id=thread&thread_id=$1&bearbeiten=$2&eintrag=$3",
"^/thread.html;([0-9]+);eintrag=([0-9]+)$" => "/index1.php?id=thread&thread_id=$1&eintrag=$2",
"^/votingbilder.html;bearbeiten$" => "/index1.php?id=votingbilder_bearbeiten",
"^/partysuche.html$" => "/index1.php?id=partysuche",
"^/erweiterte_partysuche.html$" => "/index1.php?id=erweitert",
"^/erweiterte_partysuche.html;area=([a-zA-Z]*);event_title=([a-zA-Z]*);plz=([a-zA-Z0-9]*);ort=([a-zA-Z]*);location=([a-zA-Z]*);preis=([0-9]+);eintrag=([0-9]+)$" => "/index1.php?id=erweitert&area=$1&event_title=$2&plz=$3&ort=$4&location=$5&preis=$6&eintrag=$7",
"^/partysuche.html;area=([a-zA-Z]*);eintrag=([0-9]+)$" => "/index1.php?id=partysuche&area2=$1&eintrag=$2",
"^/partysuche.html;area=([a-zA-Z]*);eventstart=([0-9]+);&eventend=([0-9]+);eintrag=([0-9]+) => $index1.php?id=partysuche&area2=$1&eventstart=$2&eventend=$3&eintrag=$4",
"^/party-event/flyer.html;flyer=([0-9]+)$" => "/templates/php/party-event/flyer.php?flyerid=$1",
"^/party_event.html$" => "/index1.php?id=party_event",
"^/party-event.html;area=([a-zA-Z-]*)$" => "/index1.php?id=party-event&area=$1",
"^/party-event.html;area=([a-zA-Z-]*);eintrag=([0-9]+)$" => "/index1.php?id=party-event&area=$1&eintrag=$2",
"^/party-event.html;area=([a-zA-Z-]*);insert$" => "/index1.php?id=party-event&area=$1&and=insert#insert",
"^/party-event.html;area=([a-zA-Z-]*);filter;ort;([a-zA-Z-_]*)$" => "/index1.php?id=party-event&area=$1&ort=$2",
"^/party-event.html;area=([a-zA-Z-]*);filter;ort;([a-zA-Z-_]*);eintrag=([0-9]+)$" => "/index1.php?id=party-event&area=$1&ort=$2&eintrag=$3",
"^/party.html;area=([a-zA-Z-]*);id=([0-9]+)$" => "/index1.php?id=details&area=$1&id1=$2",
"^/usersuche.html$" => "/index1.php?id=usersuche",
"^/usersuche.html;eintrag=([0-9]+)$" => "/index1.php?id=usersuche&eintrag=$1",
"^/quiz_kategorien.html$" => "/index1.php?id=quiz_kategorien",
"^/quiz.html;([0-9]+)$" => "/index1.php?id=quiz&id1=$1",
"^/quiz.html$" => "/index1.php?id=quiz&id1=$1",
"^/highscore.html$" => "/index1.php?id=highscore",
"^/highscore.html;eintrag=([0-9]+)$" => "/index1.php?id=highscore&eintrag=$1",
"^/highscore.html;([0-9]+);eintrag=([0-9]+)$" => "/index1.php?id=highscore&id1=$1&eintrag=$2",
"^/highscore.html;([0-9]+)$" => "/index1.php?id=highscore&id1=$1",
"^/a-z.html$" => "/index1.php?id=a-z",
"^/clubsprache.html$" => "/index1.php?id=clubsprache",
"^/techno_und_drogen.html$" => "/templates/drogen/drogen.htm",
"^/styles.html$" => "/index1.php?id=styles",
"^/nachdenkliches.html$" => "/index1.php?id=gedichte",
"^/Mami.html$" => "/index1.php?id=Mami",
"^/musikvorschlaege.html$" => "/index1.php?id=musikvorschlaege",
"^/clubs.html$" => "/index1.php?id=clubs",
"^/eventbilder.html$" => "/index1.php?id=eventbilder",
"^/eventbilder.html;([a-zA-Z-]*)$" => "/index1.php?id=gallery&area=$1",
"^/eventbilder.html;([a-zA-Z-]*);eintrag=([0-9]+)$" => "/index1.php?id=gallery&area=$1&eintrag=$2",
"^/eventbilder.html;([0-9]+)$" => "/index1.php?id=show&galerie=$1",
"^/eventbilder.html;([0-9]+);eintrag=([0-9]+)$" => "/index1.php?id=show&galerie=$1&eintrag=$2",
"^/eventbild.html;([0-9]+);([0-9]+);([0-9]+)$" => "/index1.php?id=show_pic&galerie=$1&galpic_id=$2&offset=$3",
"^/eventbild_kommentieren.html;([0-9]+);([0-9]+);([0-9]+)$" => "/index1.php?id=show_pic&galerie=$1&galpic_id=$2&offset=$3",
"^/djn.html$" => "/index1.php?id=djn",
"^/shop.html$" => "/shop/index.php",
"^/banner.html$" => "/index1.php?id=banner",
"^/datenschutz.html$" => "/index1.php?id=datenschutz",
"^/club_details([0-9]+).html$" => "/index1.php?id=club_details&id1=$1",
"^/vorschaubild([0-9]+).html$" => "/clubs/bilder.php?id=$1",
"^/impressum.html$" => "/index1.php?id=impressum",
"^/kontakt.html$" => "/index1.php?id=kontakt",
"^/kunde.html$" => "/tool/adserver/user.php",
"^/kommentar_speichern.html$" => "/index1.php?id=scomment",
"^/newsartikel_([0-9]+).html;kommentar_bearbeiten;([0-9]+)$" => "/index1.php?id=news_mehr&id1=$1&commid=$2&kommentar_bearbeiten=1#bearbeiten",
"^/kommentar_bearbeiten.html;([0-9]+);([0-9]+)$" => "/index1.php?id=news_mehr&commentedit=save&id1=$1&artikel=$2",
"^/locationliste-([a-zA-Z-]*).html$" => "/index1.php?id=locationliste&area=$1",
"^/cocktails.html$" => "/index1.php?id=cocktails",
"^/cocktailsuche.html$" => "/index1.php?id=cocktailsuche",
"([a-zA-Z]).html;([0-9]+)$" => "/index1.php?id=cocktail_liste&id1=$2",
"([a-zA-Z]*).html;([0-9]+);eintrag=([0-9]+)$" => "/index1.php?id=cocktail_liste&id1=$2&eintrag=$3",
"([a-zA-Z]*).html;([0-9]+);hits$" => "/index1.php?id=cocktail_liste&id1=$2&sort=hits",
"([a-zA-Z]*).html;([0-9]+);hits;eintrag=([0-9]+)$" => "/index1.php?id=cocktail_liste&id1=$2&sort=hits&eintrag=$3",
"([a-zA-Z]*).html;([0-9]+);wertung$" => "/index1.php?id=cocktail_liste&id1=$2&sort=wertung",
"([a-zA-Z]*).html;details;([0-9]+)$" => "/index1.php?id=cocktail_details&drinkid=$2",
"^/rezeptverzeichnis.html$" => "/index1.php?id=cocktail_liste",
"^/rezeptverzeichnis.html;eintrag=([0-9]+)$" => "/index1.php?id=cocktail_liste&eintrag=$1",
"^/rezeptverzeichnis.html;wertung;eintrag=([0-9]+)$" => "/index1.php?id=cocktail_liste&sort=wertung&eintrag=$1",
"^/rezeptverzeichnis.html;hits;eintrag=([0-9]+)$" => "/index1.php?id=cocktail_liste&sort=hits&eintrag=$1",
"^/rezeptverzeichnis.html;hits$" => "/index1.php?id=cocktail_liste&sort=hits",
"^/rezeptverzeichnis.html;wertung$" => "/index1.php?id=cocktail_liste&sort=wertung",
"^/restaurants_und_bars.html;karte$" => "/index1.php?id=restaurants-bars",
"^/restaurants_und_bars.html;area=([a-zA-Z-]*)$" => "/index1.php?id=restaurants_bars&area=$1",
"^/restaurants_und_bars.html;details_lokal;([0-9]+)$" => "/index1.php?id=restaurants_bars&details=$1",
"^/restaurants_und_bars.html;area=([a-zA-Z-]*);filter;bar$" => "/index1.php?id=restaurants_bars&area=$1&art=0",
"^/restaurants_und_bars.html;area=([a-zA-Z-]*);filter;bar;eintrag=([0-9]+)$" => "/index1.php?id=restaurants_bars&area=$1&art=0",
"^/restaurants_und_bars.html;area=([a-zA-Z-]*);filter;bar;ort;([a-zA-Z-_]*);eintrag=([0-9]+)$" => "/index1.php?id=restaurants_bars&area=$1&art=0&ort=$2&eintrag=$3",
"^/restaurants_und_bars.html;area=([a-zA-Z-]*);filter;bar;eintrag=([0-9]+);ort;([a-zA-Z-_]*)$" => "/index1.php?id=restaurants_bars&area=$1&art=0&ort=$2",
"^/restaurants_und_bars.html;area=([a-zA-Z-]*);filter;ort;([a-zA-Z-_]*)$" => "/index1.php?id=restaurants_bars&area=$1&ort=$2",
"^/restaurants_und_bars.html;area=([a-zA-Z-]*);filter;ort;([a-zA-Z-_]*);eintrag=([0-9]+)$" => "/index1.php?id=restaurants_bars&area=$1&ort=$2&eintrag=$3",
"^/restaurants_und_bars.html;area=([a-zA-Z-]*);filter;restaurant$" => "/index1.php?id=restaurants_bars&area=$1&art=1",
"^/restaurants_und_bars.html;area=([a-zA-Z-]*);filter;restaurant;eintrag=([0-9]+)$" => "/index1.php?id=restaurants_bars&area=$1&art=1",
"^/restaurants_und_bars.html;area=([a-zA-Z-]*);filter;restaurant;ort;([a-zA-Z-_]*)$" => "/index1.php?id=restaurants_bars&area=$1&art=1&ort=$2",
"^/restaurants_und_bars.html;area=([a-zA-Z-]*);filter;restaurant;eintrag=([0-9]+);ort;([a-zA-Z-_]*)$" => "/index1.php?id=restaurants_bars&area=$1&art=1&ort=$2",
"^/restaurants_und_bars.html;area=([a-zA-Z-]*);eintrag=([0-9]+)$" => "/index1.php?id=restaurants_bars&area=$1&eintrag=$2",
"^/promillerechner.html$" => "/index1.php?id=promillerechner",
"^/passwort_vergessen.html$" => "/index1.php?id=changepasswort",
"^/stats.html$" => "/index1.php?id=stats",
"^/mitglieder.html$" => "/index1.php?id=mitglieder&eintrag=$1",
"^/mitglieder.html;buddyadden;buddy=([0-9]+)$" => "/index1.php?id=mitglieder&buddyadden&buddy=$1",
"^/mitglieder.html;eintrag=([0-9]+)$" => "/index1.php?id=mitglieder",
"^/nachricht_lesen.html;nachricht=([0-9]+)$" => "/index1.php?id=nachricht_lesen&id1=$1",
"^/nachricht_loeschen.html;del=([0-9]+)$" => "/index1.php?id=nachricht_lesen&action=loeschen&id1=$1",
"^/nachricht_melden.html;nachricht=([0-9]+)$" => "/index1.php?id=nachricht_lesen&action=melden&id1=$1",
"^/absender_blockieren.html;absender=([0-9]+)$" => "/index1.php?id=nachricht_lesen&action=blocken&id1=$1",
"^/nachricht_senden.html;an=([0-9]+)$" => "/index1.php?id=nachricht_senden&sendto=$1",
"^/beantworten.html;id=([0-9]+)$" => "/index1.php?id=reply&id1=$1",
"^/partner.html$" => "/index1.php?id=partner",
"^/veranstaltungskalender_([0-9]+)-([0-9]+)-([0-9]+).html$" => "/index1.php?id=partykalender&tag=$1.$2.$3",
"^/veranstaltungskalender_([0-9]+)-([0-9]+)-([0-9]+)html;eintrag=([0-9]+)$" => "/index1.php?id=partykalender&tag=$1.$2.$3&eintrag=$4",
"^/willkommen.html$" => "/index1.php?id=willkommen",
"^/willkommen.html;area=([a-zA-Z]+);eintrag=([0-9]+)$" => "/index1.php?id=willkommen&area=$1&eintrag=$2",
"^/snake.html$" => "/index1.php?id=snake",
"^/phong.html$" => "/index1.php?id=pong",
"^/tictactoe.html$" => "/index1.php?id=tictactoe",
"^/clubsuche.html$" => "/index1.php?id=clubsuche",
"^/clubsuche.html;eintrag=([0-9]+)$" => "/index1.php?id=clubsuche&eintrag=$1",
"^/weiterempfehlen.html$" => "/tool/ts/index.php",
"^/punktehistorie.html$" => "/index1.php?id=punktehistorie",
"^/punktehistorie.html;eintrag=([0-9]+)$" => "/index1.php?id=punktehistorie&eintrag=$1",
"^/chat/$" => "/chat/index.php",
"^/([\w]+)/?$" => "/index1.php?id=$1"
)
# url.redirect = ("^/wishlist/(.+)" => "http://www.123.org/$1")
#
# define a pattern for the host url finding
# %% => % sign
# %0 => domain name + tld
# %1 => tld
# %2 => domain name without tld
# %3 => subdomain 1 name
# %4 => subdomain 2 name
#
# evhost.path-pattern = "/home/storage/dev/www/%3/htdocs/"
#### expire module
# expire.url = ( "/buggy/" => "access 2 hours", "/asdhas/" => "access plus 1 seconds 2 minutes")
#### rrdtool
# rrdtool.binary = "/usr/bin/rrdtool"
# rrdtool.db-name = "/var/www/lighttpd.rrd"
#### handle Debian Policy Manual, Section 11.5. urls
#### and by default allow them only from localhost
#$HTTP["remoteip"] =~ "127.0.0.1" {
#alias.url += (
#"/doc/" => "/usr/share/doc/",
#"/images/" => "/usr/share/images/"
#)
#$HTTP["url"] =~ "^/doc/|^/images/" {
#dir-listing.activate = "enable"
#}
#}
#### variable usage:
## variable name without "." is auto prefixed by "var." and becomes "var.bar"
#bar = 1
#var.mystring = "foo"
## integer add
#bar += 1
## string concat, with integer cast as string, result: "www.foo1.com"
#server.name = "www." + mystring + var.bar + ".com"
## array merge
#index-file.names = (foo + ".php") + index-file.names
#index-file.names += (foo + ".php")
#### external configuration files
## mimetype mapping
include_shell "/usr/share/lighttpd/create-mime.assign.pl"
## load enabled configuration files,
## read /etc/lighttpd/conf-available/README first
include_shell "/usr/share/lighttpd/include-conf-enabled.pl"