Actions
Bug #1831
closedSet in the lighttpd.conf following text $HTTP["host"] or $HTTP["url"] receive an error
ASK QUESTIONS IN Forums:
Description
$HTTP["host"] == "www.mysite.org" {
server.document-root = "/usr/home/Mysite/public_html/"
server.error-handler-404 = "/index.php?error=404" }
}
OR
$HTTP["url"] == "^mysite\.org" {
server.document-root = "/usr/home/Mysite/public_html/"
server.error-handler-404 = "/index.php?error=404" }
How to repair or setup correct values?
}
after restart lighttpd I saw error:
YYYY-MM_DD H:M:S (configfile.c.1156) a default document-root has to be set
YYYY-MM_DD H:M:S (server.c.580) setting default values failed
Files
Updated by darix almost 16 years ago
- Status changed from New to Fixed
- Priority changed from High to Low
add a server.document-root without any conditional around it.
Actions
Also available in: Atom