<html>
<head>
<meta name="generator" content="Windows Mail 17.5.9600.20315">
<style data-externalstyle="true"><!--
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
}
p.MsoNormal, li.MsoNormal, div.MsoNormal {
margin:0in;
margin-bottom:.0001pt;
}
p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst, 
p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle, 
p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
line-height:115%;
}
--></style></head>
<body dir="ltr">
<div data-externalstyle="false" dir="ltr" style="font-family: 'Calibri', 'Arial', 'Segoe UI', 'Meiryo', 'Microsoft YaHei UI', 'Microsoft JhengHei UI', 'Malgun Gothic';font-size:12pt;"><div>Thank you all very much for this advice. I’ll get back on the case tomorrow. Could that also account for another problem with the session_id not set message? <br></div><div data-signatureblock="true"><div><br></div><div>Kindest Regards,<br>Thomas<br>==========================================================<br>Thomas Rochford  |  e-Learning Advisor  |  Jisc RSC Eastern<br>Tel: 01223 564749 |  Mobile: 07500 669002  |  Skype: cambridge.serendipity<br>Email: thomas.rochford@jiscadvance.ac.uk  |  Web: http://www.jiscrsc.ac.uk/eastern <br>Cambridge Serendipity, 35 Gough Way, Cambridge, CB3 9LN<br>For the full range of RSC UK events, resources and blog, visit http://www.jiscrsc.ac.uk</div><div><br></div></div><div style="padding-top: 5px; border-top-color: rgb(229, 229, 229); border-top-width: 1px; border-top-style: solid;"><div><font face=" 'Calibri', 'Arial', 'Segoe UI', 'Meiryo', 'Microsoft YaHei UI', 'Microsoft JhengHei UI', 'Malgun Gothic'" style='line-height: 15pt; letter-spacing: 0.02em; font-family: "Calibri", "Arial", "Segoe UI", "Meiryo", "Microsoft YaHei UI", "Microsoft JhengHei UI", "Malgun Gothic"; font-size: 12pt;'><b>From:</b> <a href="mailto:xerte@pgogywebstuff.com" target="_parent">Pat L (pgogy)</a><br><b>Sent:</b> ‎Monday‎, ‎10‎ ‎February‎ ‎2014 ‎22‎:‎18<br><b>To:</b> <a href="mailto:xerte-dev@lists.nottingham.ac.uk" target="_parent">xerte-dev@lists.nottingham.ac.uk</a></font></div></div><div><br></div><div dir=""><div dir="ltr">it isn't apache it's htaccess - just set apache to be false on the management side </div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Feb 10, 2014 at 9:51 PM, Thomas Rochford (Jiscadvance) <span dir="ltr"><<a href="mailto:thomas.rochford@jiscadvance.ac.uk" target="_parent">thomas.rochford@jiscadvance.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;"><div lang="EN-GB"><div><pre><span style="color: rgb(31, 73, 125);">Good Evening,<u></u><u></u></span></pre>
<pre><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'><u></u> <u></u></span></pre><pre><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'>I felt I ought to alert you to a coding problem/bug which makes toolkits inoperable when using the LITESPEED Server. This claims to be a faster version of Apache and is in  use on a number of hosting sites, in the current case, EZPZ which is a very low cost moodle hosting service. I don’t know enough about this to understand the problem fully, but the following are the symptoms,<u></u><u></u></span></pre>
<pre><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'><u></u> <u></u></span></pre><pre><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'>When selecting a tab from the top of the folder management page, e.g. selecting ‘Workspace’ and then ‘properties’ the Litespeed server throws a wobbly (i.e. a 404 message)  because it can’t find “/toolkits/workspaceproperties”. Looking at the code below, this would seem to be because XOT seems to think it’s dealing with an apache server. I have commented out the offending sections and it now correctly displays the Workspace Properties window.<u></u><u></u></span></pre>
<pre><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'><u></u> <u></u></span></pre><p class="MsoNormal"><span style="color: windowtext; font-family: Consolas; font-size: 11pt;">        case "workspaceproperties": if(site_apache=="true"){<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color: windowtext; font-family: Consolas; font-size: 11pt;">/*            return url; <u></u><u></u></span></p><p class="MsoNormal"><span style="color: windowtext; font-family: Consolas; font-size: 11pt;">        }else{ */<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color: windowtext; font-family: Consolas; font-size: 11pt;">              return url + ".php"<u></u><u></u></span></p><pre><span style="color: windowtext; font-family: Consolas; font-size: 11pt;">        }<u></u><u></u></span></pre>
<pre><span style="color: windowtext; font-family: Consolas; font-size: 11pt;"><u></u> <u></u></span></pre><pre><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'>Obviously this is only a one-off fix, but I guess the test for ‘site_apache’ needs to be rewritten so that I doesn’t include LITESPEED. Phpinfo gives <u></u><u></u></span></pre>
<pre><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'><u></u> <u></u></span></pre><pre><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'>‘_SERVER["SERVER_SOFTWARE"]              LiteSpeed’<u></u><u></u></span></pre>
<pre><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'><u></u> <u></u></span></pre><pre><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'>For the Litespeed Server and <u></u><u></u></span></pre>
<pre><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'><u></u> <u></u></span></pre><pre><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'>‘_SERVER["SERVER_SOFTWARE"]              Apache’<u></u><u></u></span></pre>
<pre><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'><u></u> <u></u></span></pre><pre><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'>For  the Apache one, so perhaps that could be tested. Alternatively the headers return by the Litespeed server also make it plain as shown below<u></u><u></u></span></pre>
<pre><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'><u></u> <u></u></span></pre><pre><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'>HTTP/1.1 200 OK<u></u><u></u></span></pre>
<pre><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'>Date: Mon, 10 Feb 2014 21:44:13 GMT<u></u><u></u></span></pre><pre><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'>Server: LiteSpeed<u></u><u></u></span></pre>
<pre><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'>Connection: close<u></u><u></u></span></pre><pre><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'>X-Powered-By: PHP/5.3.26<u></u><u></u></span></pre>
<pre><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'>Set-Cookie: PHPSESSID=1535f76d11842885a64c9705a6d42565; path=/<u></u><u></u></span></pre><pre><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'>Expires: Thu, 19 Nov 1981 08:52:00 GMT<u></u><u></u></span></pre>
<pre><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'>Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0<u></u><u></u></span></pre><pre><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'>Pragma: no-cache<u></u><u></u></span></pre>
<pre><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'>Content-Type: text/html<u></u><u></u></span></pre><pre><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'>Content-Length: 2719<u></u><u></u></span></pre>
<pre><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'><u></u> <u></u></span></pre><pre><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'>Kindest regards, Thomas<u></u><u></u></span></pre>
<pre><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'><u></u> <u></u></span></pre><pre><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'><u></u> <u></u></span></pre>
<p class="MsoNormal"><span style='color: windowtext; font-family: "Calibri","sans-serif"; font-size: 11pt;'><u></u> <u></u></span></p></div>
<br><p>This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.</p>
<p>This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.</p>

<br></div><br>_______________________________________________<br>
Xerte-dev mailing list<br>
<a href="mailto:Xerte-dev@lists.nottingham.ac.uk" target="_parent">Xerte-dev@lists.nottingham.ac.uk</a><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_parent">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a><br>
<br></blockquote></div><br></div>
</div></div>
</body>
</html>