diff -rt old/branches/release-0-24-fixes/mythplugins/mythweb/INSTALL new/branches/release-0-24-fixes/mythplugins/mythweb/INSTALL
196,197d195
< Please do not use Lighttpd unless you know what you are doing.
< 
363c361,429
< Sorry, no documentation here yet...
---
> Configuring lighttpd for mythweb is not as difficult as it once might
> have been.  All you need to do is add this to your
> /etc/lighttpd/lighttpd.conf, or a file included by it (substituting of
> course for your own local particulars).
> 
> If you're running mythweb as a virtual host, include the following
> inside a $HTTP["host"] directive.
> 
>   # You'll want to specify the document root, naturally
> 
>   server.document-root = "/var/www/localhost/htdocs/mythweb"
> 
>   # The following two sections are the "meat" of configuring mythweb
>   # under lighttpd.  You will need this at the least.
> 
>   setenv.add-environment = (
>     "db_server"   => "servername",
>     "db_name"     => "mythconverg",
>     "db_login"    => "mythtv",
>     "db_password" => "password"
>   )
> 
>   url.rewrite-once = (
>     "^/(css|data|images|js|themes|skins|[a-z_]+\.(php|pl)).*" => "$0",
>     "^/(pl(/.*)?)$" => "/mythweb.pl/$1",
>     "^/(.+)$"       => "/mythweb.php/$1",
>     "^/(.*)$"       => "/mythweb.php"
>   )
> 
>   # Protip: If you want HTTP Digest Authentication, uncomment and
>   # configure this section.  Set up the mythweb.htdigest file for your
>   # users according to the normal lighttpd documentation.
> 
>   # auth.backend = "htdigest"
>   # auth.backend.htdigest.userfile = "/etc/lighttpd/mythweb.htdigest"
>   # auth.require = (
>   #   "/" => (
>   #     "method"  => "digest",
>   #     "realm"   => "MythTV",
>   #     "require" => "valid-user"
>   #   )
>   # )
> 
>   # Protip: Uncomment and configure this section if you aren't already
>   # using fastcgi for PHP applications on your lighttpd server.  If
>   # you're running mythweb as a virtual host, uncommenting this
>   # section will allow it to run as its own unique and isolated
>   # fastcgi instance.
> 
>   # fastcgi.server = (
>   #   ".php" => ((
>   #     "bin-path" => "/usr/bin/php-cgi",
>   #     "socket"   => "/var/run/lighttpd/mythtv-php-fcgi.socket",
>   #     "broken-scriptfilename" => "enable",
>   #     "bin-environment" => (
>   #       "db_server"   => "localhost",
>   #       "db_name"     => "mythconverg",
>   #       "db_login"    => "mythtv",
>   #       "db_password" => "mythtv"
>   #     )
>   #   ))
>   # )
> 
>   # Protip: You might already have perl CGIs handled in your lighttpd
>   # config.  If you don't, you'll want this section.
> 
>   # cgi.assign = (
>   #   ".pl"  => "/usr/bin/perl"
>   # )
