1 # This is a user supplied example file. Please modify before use
3 # Apply mythweb configuration if hostname equals to mythweb
4 $HTTP["host"] == "mythweb" {
5 evhost.path-pattern = "/usr/share/mythweb"
6 # Requiring authentication is a good idea if the server is publicly
7 # accessible. On a private server this section can be safely removed.
8 auth.backend = "htdigest"
9 auth.backend.htdigest.userfile = "/usr/share/mythweb/htdigest"
14 "require" => "valid-user"
18 # Use fastcgi for the PHP parts
21 "bin-path" => "/usr/bin/php.fcgi",
22 "socket" => "/var/run/lighttpd/mythtv-php-fcgi.socket",
23 "broken-scriptfilename" => "enable",
24 "bin-environment" => (
25 "db_server" => "localhost",
26 "db_name" => "mythconverg",
27 "db_login" => "mythtv",
28 "db_password" => "mythtv"
33 # Environment variables for the Perl parts
34 setenv.add-environment = (
35 "db_server" => "localhost",
36 "db_name" => "mythconverg",
37 "db_login" => "mythtv",
38 "db_password" => "mythtv"
42 ".pl" => "/usr/bin/perl"
46 "^/(classes|data|includes|js|modules|skins|[a-z_]+\.(php|pl)).*" => "$0",
47 "^/(pl(/.*)?)$" => "/mythweb.pl/$1",
48 "^/(.+)$" => "/mythweb.php/$1",
49 "^/(.*)$" => "/mythweb.php"