# File lib_ctrl/rucy/params.rb, line 728 def server_setup(control, err_mon, server) folder = server.document.find('/')[0] for attrs in @list alias_path = attrs['alias_path'] orig_path = attrs['orig_path'] host = attrs['virtual_host'] begin if (host) then host += ':' + server.port.to_s folder.set_virtual_alias(host, alias_path, orig_path) else folder.set_alias(alias_path, orig_path) end rescue err_mon.capture_alias_error($!, alias_path, orig_path, host) server.err("error: unavaiable alias: (#{$!.class}) #{$!}") end end nil end