kdw
Joined: 05 May 2006 Posts: 1460
|
Posted: 17.11.2010, 17:19 Post subject: lighttpd.conf … |
|
|
Hallo Forum.
Für den Anwender-Web-Server existiert die separate Konfigurationsdatei /rw/etc/lighttpd.conf:
Code: | # lighttpd configuration file
server.network-backend = "write"
dir-listing.activate = "disable"
server.modules = ("mod_cgi", "mod_accesslog")
server.document-root = "/rw/fde/www/"
index-file.names = ("index.htm", "index.html")
mimetype.assign = (
".tgz" => "application/x-tgz",
".gif" => "image/gif",
".css" => "text/css",
".htm" => "text/html",
".html" => "text/html",
".js" => "text/javascript",
)
server.port = 80
server.pid-file = "/var/run/lighttpd.pid"
static-file.exclude-extensions = (".cgi")
cgi.assign = (".cgi" => "")
$SERVER["socket"] == ":443" {
ssl.engine = "enable"
ssl.pemfile = "/etc/ssl/lighttpd.pem"
} |
Der Eintrag server.document-root in dieser Konfigurationsdatei gibt an, in welchem Verzeichnis die HTML-Dateien usw. erwartet werden. In diesem Beispiel wurde die Werkseinstellung auf /rw/fde/www/ verändert.
Gruß
KDW |
|