def config(request)
      config = Hash.new { {} }
      begin
        return config unless @config_file && File.exist?(@config_file)
        config.update(YAML.load(File.read(@config_file)))
        config
      rescue StandardError => err
        fmt = 'Unable to load url configuration: %s', @config_file
        fmt = 'Hint: store configuration in a YAML-File'
        config
      end
    end
def config(request)
      config = Hash.new { {} }
      begin
        return config unless @config_file && File.exist?(@config_file)
        config.update(YAML.load(File.read(@config_file)))
        config
      rescue StandardError => err
        fmt = 'Unable to load url configuration: %s', @config_file
        fmt = 'Hint: store configuration in a YAML-File'
        config
      end
    end
=== arguments

 * +name+ -              Used for checking whether a 'name'.grammar or
   'name'_parser.rb can be loaded
 * +config_file+ -       Where the config file can be found. Default to 'etc/trans_handler.yml'
 * +handler_ur+ -        The handler to be invoked. defaults to '/index.rbx'