docs: function getPath( req, res, next ) {
  
  	var path = req.path.replace( /\..*$/, '' ).replace( /\//g, '.' ).replace( /^\.conf/, '' ).replace( /\.$/, '' ).trim();
  
  	if ( path.length < 1 ) {
  		path = null;
  	}
  
  	var outputFilter = req.path.trim().match( /\.(.*)$/ );
  	if ( outputFilter ) {
  		outputFilter = outputFilter[1].trim();
  	}
  
  	if ( typeof outputFilter !== 'string' || outputFilter.length < 1 ) {
  		outputFilter = 'json';
  	}
  
  	req.confPath = path;
  	req.outputFilter = outputFilter;
  
  	return next();
  
  }