XapianOmegaSmallBiz: lightttpd-conf.diff

File lightttpd-conf.diff, 1.6 KB (added by darius, 6 years ago)
  • /usr/local/etc/lighttpd/modules.conf

    old new  
    4141
    4242server.modules = (
    4343  "mod_access",
    44 #  "mod_alias",
     44  "mod_alias",
    4545#  "mod_auth",
    4646#  "mod_authn_file",
    4747#  "mod_evasive",
     
    140140##
    141141## plain old CGI (mod_cgi)
    142142##
    143 #include "conf.d/cgi.conf"
     143include "conf.d/cgi.conf"
    144144
    145145##
    146146#######################################################################
  • /usr/local/etc/lighttpd/lighttpd.conf

    old new  
    1313## if you add a variable here. Add the corresponding variable in the
    1414## chroot example aswell.
    1515##
    16 var.log_root    = ""
    17 var.server_root = ""
     16var.log_root    = "/var/log/lighttpd"
     17var.server_root = "/usr/local/www/xapian-omega/"
    1818var.state_dir   = "/var/run"
    1919var.home_dir    = "/var/spool/lighttpd"
    2020var.conf_dir    = "/usr/local/etc/lighttpd"
  • /usr/local/etc/lighttpd/conf.d/cgi.conf

    old new  
    2424## Note: make sure that mod_alias is loaded if you uncomment the
    2525##       next line. (see modules.conf)
    2626##
    27 #alias.url += ( "/cgi-bin" => server_root + "/cgi-bin" )
    28 #$HTTP["url"] =~ "^/cgi-bin" {
    29 #   cgi.assign = ( "" => "" )
    30 #}
     27alias.url += ( "/cgi-bin" => server_root + "/cgi-bin" )
     28$HTTP["url"] =~ "^/cgi-bin" {
     29   cgi.assign = ( "" => "" )
     30}
    3131
    3232##
    3333#######################################################################