Project

General

Profile

Actions

Bug #1831

closed

Set in the lighttpd.conf following text $HTTP["host"] or $HTTP["url"] receive an error

Added by deniza almost 16 years ago. Updated almost 16 years ago.

Status:
Fixed
Priority:
Low
Category:
-
Target version:
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

lighttpd.conf (11.5 KB) lighttpd.conf deniza, 2008-11-26 09:28
Actions #1

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