How to fix UT (SF) Webadmin bug on Linux server with 2.4.x kernel
===============================================================

My Linux box runs Redhat 7.0 with kernel version 2.4.18

1. Find your xinetd.d directory
whereis xinetd.d

Mine is /etc/xinetd.d

2. make file named sfd to your xinetd.d directory.

pico /etc/xinet.d/sfd

copypaste lines below to it:


service sfd
{
# port used for web browser connection eg. http://193.167.92.182:9077/ServerAdmin/
# you should use full URL with ending slash /  !!!!!!!!!!!!!!!!!!!!!!!

port = 9077

socket_type = stream
protocol = tcp
wait = no

# List of IP addresses those are allowed to connect UT Server admin. Uncomment line by removing #
# otherwise connetion is allowed from everywhere

# only_from = localhost 127.0.0.1 193.167.92.182 193.167.92.181

user = root
log_on_failure += USERID
disable = no

# If you have multiple network adapters, uncomment line and use bind to tell
# IP address of your internet connection.

# bind = 193.167.92.182

# Change 8077 in redirect line to the same value as you have in ListenPort value in
# [UWeb.WebServer] section of StrikeForce.ini
# eg. ListenPort = 8077 if you do not have ListenPort line in
# StrikeForce.ini, the value is 80

  redirect = external.ip.of.networkcard 8077

# if it doesnt work try with localhost 127.0.0.1 8077
# redirect = 127.0.0.1 8077

}


3. Save file
4. Restart xinetd (or reboot yr Linux box)
/etc/rc.d/init.d/xinetd restart



Sections in StrikeForce.ini

[UWeb.WebServer]
Applications[0]=UTServerAdmin.UTServerAdmin
ApplicationPaths[0]=/ServerAdmin
Applications[1]=UTServerAdmin.UTImageServer
ApplicationPaths[1]=/images
DefaultApplication=0
bEnabled=True             <---- Must be enabled
ListenPort=8077           

[UTServerAdmin.UTServerAdmin]
AdminUsername=admin
AdminPassword=sfrulez


Server consolelog fix:
======================

Edit current_console_log.uhtm file located in ut/Web dir

First couple of lines of file below, edit needed changes in 4th line, put your own external IP there ofcourse and
Adminusername and AdminPassword as they are in [UTServerAdmin.UTServerAdmin] section of server StrikeForce.ini
Same Port that you set as used for webrowser connection in the fix (9077), not the one which is ListenPort value in
[UWeb.WebServer] section. 
 
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="refresh" CONTENT="5; URL="http://admin:sfrulez@193.167.92.182:9077/ServerAdmin/current_console_log.uhtm">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>



Cheers
=SFS=Jovi

ICQ 3131974
email: jovi@clansfs.biz
