init (Raggle::Interfaces::HTTPServerInterface)

    # File raggle, line 4627
          def HTTPServerInterface::init
            # check to make sure web ui dir exists
            path = $config['web_ui_root_path']
            unless test ?e, path
              if $HAVE_LIB['fileutils']
                # if the web_ui directory doesn't exist, but the data
                # directory does, and we have fileutils installed, then go
                # ahead and copy it to our web_ui directory
                data_path = File::join($DATADIR, 'extras', 'web_ui')

                # check to see if the data dir exists, if it doesnt, then
                # bail out
                die "Missing Web UI Root directory (checked \"#{$config['web_ui_root_path']}\" and \"#{path}\")." unless test ?e, data_path

                $stderr.puts "Warning: Web UI Root (\"#{path}\") doesn't exist; copying it from \"#{data_path}\"..."
                # attempt to copy data directry to given root
                begin
                  FileUtils::cp_r(data_path, path)
                rescue
                  die "Couldn't copy from data directory (\"#{data_path}\") to Web UI Root (\"#{path}\"): #$!"
                end
              else
                die "Missing Web UI Root directory \"#{path}\"."
              end
            end

            # start HTTP server thread
            Thread.new do
              $http_server = HTTPServer::new($config['http_server'])
              $http_server.start
            end
          end