Actions
Bug #493
closedserver.modules is unpopulated on startup
Status:
Fixed
Priority:
Normal
Category:
core
Target version:
-
ASK QUESTIONS IN Forums:
Description
This is for version 1.4.9.
Unless server.modules is set to contain at lease one valid module name, default modules are not loaded.
To recreate, download 1.4.9, ./configure, make, make install and follow these steps (starting at $PREFIX):
% cat conf server.dir-listing = "enable" dir-listing.activate = "enable" server.document-root = "/home/mikeg/public/" server.port = 3000 mimetype.assign = ( ".html" => "text/html", ".txt" => "text/plain", ".jpg" => "image/jpeg", ".png" => "image/png" ) index-file.names = ( "index.html" ) % sbin/lighttpd -t -f conf Syntax OK % sbin/lighttpd -p -f conf config { var.PID = 17361 server.dir-listing = "enable" dir-listing.activate = "enable" server.document-root = "/home/mikeg/public/" server.port = 3000 mimetype.assign = ( ".html" => "text/html", ".txt" => "text/plain", ".jpg" => "image/jpeg", ".png" => "image/png", # 4 ) index-file.names = ("index.html") } % sbin/lighttpd -D -f conf 2006-02-03 14:16:14: (server.c.725) WARNING: unknown config-key: server.dir-listing (ignored) 2006-02-03 14:16:14: (server.c.725) WARNING: unknown config-key: dir-listing.activate (ignored) 2006-02-03 14:16:14: (server.c.725) WARNING: unknown config-key: index-file.names (ignored) 2006-02-03 14:16:14: (log.c.75) server started 2006-02-03 14:16:16: (server.c.1082) [note] graceful shutdown started 2006-02-03 14:16:16: (log.c.135) server stopped % vim conf % cat conf mikeg@adanac:~/bin/lightttpd >cat conf server.modules = ( "mod_indexfile" ) server.dir-listing = "enable" dir-listing.activate = "enable" server.document-root = "/home/mikeg/public/" server.port = 3000 mimetype.assign = ( ".html" => "text/html", ".txt" => "text/plain", ".jpg" => "image/jpeg", ".png" => "image/png" ) index-file.names = ( "index.html" ) % sbin/lighttpd -p -f conf config { var.PID = 17762 server.modules = ("mod_indexfile", "mod_indexfile", "mod_dirlisting", "mod_staticfile") server.dir-listing = "enable" dir-listing.activate = "enable" server.document-root = "/home/mikeg/public/" server.port = 3000 mimetype.assign = ( ".html" => "text/html", ".txt" => "text/plain", ".jpg" => "image/jpeg", ".png" => "image/png", # 4 ) index-file.names = ("index.html") } % sbin/lighttpd -D -f conf 2006-02-03 14:31:59: (log.c.75) server started
-- michalg
Updated by jan about 19 years ago
- Status changed from New to Fixed
- Resolution set to fixed
fixed in changeset r986
Actions
Also available in: Atom