Ticket #10059: mythweb.conf.lighttpd.patch

File mythweb.conf.lighttpd.patch, 777 bytes (added by Zoltan Karcagi <zkr@…>, 13 years ago)
  • mythweb.conf.lighttpd

    commit 0a96efff8e1c011c4b4f36cbeba4a4c284ac7517
    Author: Zoltan Karcagi <zkr@freemail.hu>
    Date:   Sat Sep 24 21:13:56 2011 +0200
    
        mythweb.conf.lighttpd: fix document-root
        
        The rewrite rules in mythweb.conf.lighttpd will work only with an overridden
        document-root.
    
    diff --git a/mythweb.conf.lighttpd b/mythweb.conf.lighttpd
    index c1f9f5f..b4ba74b 100644
    a b  
    22
    33# Apply mythweb configuration if hostname starts with mythtv
    44$HTTP["host"] =~ "^mythtv" {
     5    server.document-root = var.basedir + "/htdocs/mythweb"
     6
    57    # Requiring authentication is a good idea if the server is publicly
    68    # accessible.  On a private server this section can be safely removed.
    79    auth.backend = "htdigest"