From 817dabf5cb07044c2fee331455a0bb961b13dd46 Mon Sep 17 00:00:00 2001 From: onefang Date: Sun, 25 Aug 2019 14:15:28 +1000 Subject: Now with favicons. --- OpenSim/Server/Handlers/Web/WebServerConnector.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'OpenSim/Server/Handlers/Web/WebServerConnector.cs') diff --git a/OpenSim/Server/Handlers/Web/WebServerConnector.cs b/OpenSim/Server/Handlers/Web/WebServerConnector.cs index f06d4d8..11bf435 100644 --- a/OpenSim/Server/Handlers/Web/WebServerConnector.cs +++ b/OpenSim/Server/Handlers/Web/WebServerConnector.cs @@ -237,7 +237,7 @@ namespace OpenSim.Server.Handlers.Web m_log.ErrorFormat("[WEB SERVICE]: INVALID PATH {0} != {1}", Path.GetFullPath(path), Path.GetFullPath(Util.webDir())); reply["int_response_code"] = 404; reply["content_type"] = "text/html"; - reply["str_response_string"] = "404 Unknown page" + + reply["str_response_string"] = "404 Unknown page" + "404 error, can't find the " + reqpath + " page.

 

"; return reply; } @@ -398,7 +398,7 @@ namespace OpenSim.Server.Handlers.Web m_log.ErrorFormat("[WEB SERVICE]: Unable to read {0}.", reqpath); reply["int_response_code"] = 404; reply["content_type"] = "text/html"; - reply["str_response_string"] = "404 Unknown page" + + reply["str_response_string"] = "404 Unknown page" + "404 error, can't find the " + reqpath + " page.

 

"; } } @@ -519,7 +519,7 @@ namespace OpenSim.Server.Handlers.Web List< Hashtable > rows = m_database.Select("UserAccounts", "CONCAT(FirstName,' ',LastName) as Name,UserTitle as Title,UserLevel as Level,UserFlags as Flags,PrincipalID as UUID", "", "Name"); - reply["str_response_string"] = "member accounts" + + reply["str_response_string"] = "member accounts" + table(rows, new string[5] {"Name", "Title", "Level", "Flags", "UUID"}, "member accounts", "account.html?doit=edit&token=" + fields["toke_n_munchie"].ToString(), "UUID") + "

" + button("my account") + "

"; } @@ -539,7 +539,7 @@ namespace OpenSim.Server.Handlers.Web m_log.ErrorFormat("[WEB SERVICE]: No such POST target {0}.", path); reply["int_response_code"] = 404; reply["content_type"] = "text/html"; - reply["str_response_string"] = "404 Unknown page" + + reply["str_response_string"] = "404 Unknown page" + "404 error, can't find the " + reqpath + " page.

 

"; // } } @@ -548,7 +548,7 @@ namespace OpenSim.Server.Handlers.Web m_log.ErrorFormat("[WEB SERVICE]: UNKNOWN method {0} path {1}.", method, reqpath); reply["int_response_code"] = 404; reply["content_type"] = "text/html"; - reply["str_response_string"] = "Unknown method" + + reply["str_response_string"] = "Unknown method" + "HUH! For " + reqpath + " page.

 

"; } -- cgit v1.1