<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.msolistparagraphcxspfirst, li.msolistparagraphcxspfirst, div.msolistparagraphcxspfirst
        {mso-style-name:msolistparagraphcxspfirst;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        line-height:115%;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.msolistparagraphcxspmiddle, li.msolistparagraphcxspmiddle, div.msolistparagraphcxspmiddle
        {mso-style-name:msolistparagraphcxspmiddle;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        line-height:115%;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.msolistparagraphcxsplast, li.msolistparagraphcxsplast, div.msolistparagraphcxsplast
        {mso-style-name:msolistparagraphcxsplast;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        line-height:115%;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle26
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I would love to see the session_id problem fixed. It happens pretty much every single time I log in, and it’s frustrating.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> xerte-dev-bounces@lists.nottingham.ac.uk [mailto:xerte-dev-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>thomas.rochford@jiscadvance.ac.uk<br><b>Sent:</b> 10 February 2014 23:05<br><b>To:</b> xerte@pgogywebstuff.com; xerte-dev@lists.nottingham.ac.uk<br><b>Subject:</b> [Xerte-dev] Re: Coding problem with LItESPEED Server<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal><span style='font-family:"Calibri","sans-serif"'>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? <o:p></o:p></span></p></div><div><div><p class=MsoNormal><span style='font-family:"Calibri","sans-serif"'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Calibri","sans-serif"'>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: <a href="mailto:thomas.rochford@jiscadvance.ac.uk">thomas.rochford@jiscadvance.ac.uk</a>  |  Web: <a href="http://www.jiscrsc.ac.uk/eastern">http://www.jiscrsc.ac.uk/eastern</a> <br>Cambridge Serendipity, 35 Gough Way, Cambridge, CB3 9LN<br>For the full range of RSC UK events, resources and blog, visit <a href="http://www.jiscrsc.ac.uk">http://www.jiscrsc.ac.uk</a><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Calibri","sans-serif"'><o:p> </o:p></span></p></div></div><div style='border:none;border-top:solid #E5E5E5 1.0pt;padding:4.0pt 0cm 0cm 0cm'><div><p class=MsoNormal><b><span style='font-family:"Calibri","sans-serif";letter-spacing:.25pt'>From:</span></b><span style='font-family:"Calibri","sans-serif";letter-spacing:.25pt'> <a href="mailto:xerte@pgogywebstuff.com" target="_parent">Pat L (pgogy)</a><br><b>Sent:</b> </span><span lang=AR-SA style='letter-spacing:.25pt'>‎</span><span style='font-family:"Calibri","sans-serif";letter-spacing:.25pt'>Monday</span><span lang=AR-SA style='letter-spacing:.25pt'>‎</span><span style='font-family:"Calibri","sans-serif";letter-spacing:.25pt'>, </span><span lang=AR-SA style='letter-spacing:.25pt'>‎</span><span style='font-family:"Calibri","sans-serif";letter-spacing:.25pt'>10</span><span lang=AR-SA style='letter-spacing:.25pt'>‎</span><span lang=AR-SA style='font-family:"Calibri","sans-serif";letter-spacing:.25pt'> </span><span lang=AR-SA style='letter-spacing:.25pt'>‎</span><span style='font-family:"Calibri","sans-serif";letter-spacing:.25pt'>February</span><span lang=AR-SA style='letter-spacing:.25pt'>‎</span><span lang=AR-SA style='font-family:"Calibri","sans-serif";letter-spacing:.25pt'> </span><span lang=AR-SA style='letter-spacing:.25pt'>‎</span><span style='font-family:"Calibri","sans-serif";letter-spacing:.25pt'>2014 </span><span lang=AR-SA style='letter-spacing:.25pt'>‎</span><span style='font-family:"Calibri","sans-serif";letter-spacing:.25pt'>22</span><span lang=AR-SA style='letter-spacing:.25pt'>‎</span><span style='font-family:"Calibri","sans-serif";letter-spacing:.25pt'>:</span><span lang=AR-SA style='letter-spacing:.25pt'>‎</span><span style='font-family:"Calibri","sans-serif";letter-spacing:.25pt'>18<br><b>To:</b> <a href="mailto:xerte-dev@lists.nottingham.ac.uk" target="_parent">xerte-dev@lists.nottingham.ac.uk</a></span><span style='font-family:"Calibri","sans-serif"'><o:p></o:p></span></p></div></div><div><p class=MsoNormal><span style='font-family:"Calibri","sans-serif"'><o:p> </o:p></span></p></div><div><div><p class=MsoNormal><span style='font-family:"Calibri","sans-serif"'>it isn't apache it's htaccess - just set apache to be false on the management side <o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-family:"Calibri","sans-serif"'><o:p> </o:p></span></p><div><p class=MsoNormal><span style='font-family:"Calibri","sans-serif"'>On Mon, Feb 10, 2014 at 9:51 PM, Thomas Rochford (Jiscadvance) <<a href="mailto:thomas.rochford@jiscadvance.ac.uk" target="_parent">thomas.rochford@jiscadvance.ac.uk</a>> wrote:<o:p></o:p></span></p><div><div><pre><span style='color:#1F497D'>Good Evening,</span><o:p></o:p></pre><pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></pre><pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>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,</span><o:p></o:p></pre><pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></pre><pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>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.</span><o:p></o:p></pre><pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></pre><p class=MsoNormal><span style='font-size:11.0pt;font-family:Consolas'>        case "workspaceproperties": if(site_apache=="true"){</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:Consolas'>/*            return url; </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:Consolas'>        }else{ */</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:Consolas'>              return url + ".php"</span><o:p></o:p></p><pre><span style='font-size:11.0pt;font-family:Consolas'>        }</span><o:p></o:p></pre><pre><span style='font-size:11.0pt;font-family:Consolas'> </span><o:p></o:p></pre><pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>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 </span><o:p></o:p></pre><pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></pre><pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>‘_SERVER["SERVER_SOFTWARE"]              LiteSpeed’</span><o:p></o:p></pre><pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></pre><pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>For the Litespeed Server and </span><o:p></o:p></pre><pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></pre><pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>‘_SERVER["SERVER_SOFTWARE"]              Apache’</span><o:p></o:p></pre><pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></pre><pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>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</span><o:p></o:p></pre><pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></pre><pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>HTTP/1.1 200 OK</span><o:p></o:p></pre><pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Date: Mon, 10 Feb 2014 21:44:13 GMT</span><o:p></o:p></pre><pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Server: LiteSpeed</span><o:p></o:p></pre><pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Connection: close</span><o:p></o:p></pre><pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>X-Powered-By: PHP/5.3.26</span><o:p></o:p></pre><pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Set-Cookie: PHPSESSID=1535f76d11842885a64c9705a6d42565; path=/</span><o:p></o:p></pre><pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Expires: Thu, 19 Nov 1981 08:52:00 GMT</span><o:p></o:p></pre><pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0</span><o:p></o:p></pre><pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Pragma: no-cache</span><o:p></o:p></pre><pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Content-Type: text/html</span><o:p></o:p></pre><pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Content-Length: 2719</span><o:p></o:p></pre><pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></pre><pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Kindest regards, Thomas</span><o:p></o:p></pre><pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></pre><pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></pre><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> </span><o:p></o:p></p></div><p class=MsoNormal><span style='font-family:"Calibri","sans-serif"'><o:p> </o:p></span></p><p><span style='font-family:"Calibri","sans-serif"'>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.<o:p></o:p></span></p><p><span style='font-family:"Calibri","sans-serif"'>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.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Calibri","sans-serif"'><o:p> </o:p></span></p></div><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-family:"Calibri","sans-serif"'><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><o:p></o:p></span></p></div><p class=MsoNormal><span style='font-family:"Calibri","sans-serif"'><o:p> </o:p></span></p></div></div></div></div></body></html>