+_ = require('underscore')._
 connect = require('connect')
 fs = require('fs')
 path = require('path')

    else
      traverseActionList = (silo)=>
        return nextSite() unless silo
        i= 0
        next= (err)=>
          next_layer(err) if err

      extLookup= actions[if req.method is 'HEAD' then 'GET' else req.method]
      return nextSite() unless extLookup?

      if _.isArray(extLookup) ||_.isFunction(extLookup)
        traverseActionList(extLookup)
      else
        fs.stat pathobj.full, (err,stats)=>
          if !err && stats.isDirectory()
            traverseActionList(extLookup['/'])
          else
            traverseActionList(extLookup[urlExtension] ? extLookup['*'])
  nextSite()