<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=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@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:Verdana;
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:"Times New Roman \, serif";}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
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";
color:black;}
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:11.0pt;
font-family:"Calibri","sans-serif";
color:black;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;
color:black;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
span.EmailStyle22
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle23
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle24
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle25
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle26
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle27
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle28
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle29
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle30
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle31
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle32
{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 bgcolor=white lang=EN-GB link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>My point was changing the auth_config settings will not kill the xerte session data. Close all browser windows to ensure session data is ended and try again.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>When you then login to moodle don't close the browser just adde the xerte url to the same wondow or a new tab.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><a name="_MailEndCompose"><span style='color:#1F497D'><o:p> </o:p></span></a></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";color:windowtext'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Tom Luxon<br><b>Sent:</b> 07 October 2013 10:42<br><b>To:</b> Xerte discussion list<br><b>Subject:</b> [Xerte] Re: Moodle Authentication Loop<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='color:#1F497D'>No I kept the browser windows open.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>If I login to moodle, close the browser and then open a browser with the xerte URL I am redirected to the moodle login page again </span><span style='font-family:Wingdings;color:#1F497D'>L</span><span style='color:#1F497D'>.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Yes I am using Windows 2008 R2 and IIS 7.5<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><p class=MsoNormal><span style='color:#1F497D'>Kind Regards<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Tom Luxon<o:p></o:p></span></p></div><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='color:windowtext'>From:</span></b><span lang=EN-US style='color:windowtext'> <a href="mailto:xerte-bounces@lists.nottingham.ac.uk">xerte-bounces@lists.nottingham.ac.uk</a> [<a href="mailto:xerte-bounces@lists.nottingham.ac.uk">mailto:xerte-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Ron Mitchell<br><b>Sent:</b> 07 October 2013 10:12<br><b>To:</b> 'Xerte discussion list'<br><b>Subject:</b> [Xerte] Re: Moodle Authentication Loop<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='color:#1F497D'>Did you close all browser windows between those steps?<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>The fact that it all works via guest is good means Xerte is working fine.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>The fact that with the integration path set you get redirected to login to moodle is good that means the integration path is correct.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Change auth_config.php to moodle and comment out guest.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Close all browser windows or try a different browser and vist the xerte url - you should be redirected to moodle.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Login to moodle and if you have xerte in the moodle directory you should be redirected to Moodle. If it's in a separate directory the in the same browser window visit the xerte url and you should be logged in? If not then xerte isn't picking up the Moodle session data.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>The fact that you mention inetpub suggests this is Windows and IIS? I don't have access to a Windows/IIS setup right now but someone else may be able to advise if there is any IIS configuration settings to control/restrict session data?<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>HTH<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Ron <o:p></o:p></span></p><p class=MsoNormal><span style='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";color:windowtext'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> <a href="mailto:xerte-bounces@lists.nottingham.ac.uk">xerte-bounces@lists.nottingham.ac.uk</a> [<a href="mailto:xerte-bounces@lists.nottingham.ac.uk">mailto:xerte-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Tom Luxon<br><b>Sent:</b> 07 October 2013 09:22<br><b>To:</b> Xerte discussion list<br><b>Subject:</b> [Xerte] Re: Moodle Authentication Loop<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='color:windowtext'>Morning,<o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:windowtext'>I have followed the instructions in the moodle_integration_readme.txt, but just to confirm here:<o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:windowtext'>I went to the management.php page and entered “/inetpub/xerte/moodle/config.php” into the integration field.<o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext'>Changed the auth_config.php to moodle authentication.<o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:windowtext'>I then went to the xerte url and was redirected to moodle, entered my AD creds and was accepted into moodle. Clicked the link back to xerte and appear back at the moodle login page, d’oh!!!<o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:windowtext'>I reverted what I had changed apart from the management.php page as whenever I log in as admin to xerte management.php the site tells me “</span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:windowtext;background:white'>the feature is for administrators only”.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:windowtext;background:white'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:windowtext;background:white'>Help!<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:windowtext;background:white'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:windowtext;background:white'>Thanks</span><span style='color:windowtext'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><p class=MsoNormal><span style='color:#1F497D'>Kind Regards<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Tom Luxon<o:p></o:p></span></p></div><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='color:windowtext'>From:</span></b><span lang=EN-US style='color:windowtext'> <a href="mailto:xerte-bounces@lists.nottingham.ac.uk">xerte-bounces@lists.nottingham.ac.uk</a> [<a href="mailto:xerte-bounces@lists.nottingham.ac.uk">mailto:xerte-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Tom Reijnders<br><b>Sent:</b> 04 October 2013 19:19<br><b>To:</b> Xerte discussion list<br><b>Subject:</b> [Xerte] Re: Moodle Authentication Loop<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>Tom,<br><br>In the zip file (or in your installation folder) you can find a folder documentation. In that folder you can find moodle_integration_readme.txt.<br><br>Tom<span style='font-size:12.0pt'><o:p></o:p></span></p><div><p class=MsoNormal>Op 4-10-2013 18:24, Tom Luxon schreef:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal><span style='color:#1F497D'>Thanks Ron.</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>Now that I have removed those files Xerte works under the guest account. I can’t seem to locate the integration instructions you mention though?</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p><div><p class=MsoNormal><span style='color:#1F497D'>Kind Regards</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>Tom Luxon</span><o:p></o:p></p></div><p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US>From:</span></b><span lang=EN-US> <a href="mailto:xerte-bounces@lists.nottingham.ac.uk">xerte-bounces@lists.nottingham.ac.uk</a> [<a href="mailto:xerte-bounces@lists.nottingham.ac.uk">mailto:xerte-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Ron Mitchell<br><b>Sent:</b> 03 October 2013 19:30<br><b>To:</b> 'Xerte discussion list'<br><b>Subject:</b> [Xerte] Re: Moodle Authentication Loop</span><o:p></o:p></p></div></div><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>Hi Tom</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>ah I did wonder! :-(</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>That patch that you refer to is very old and applies to XOT versions prior to 1.8!</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>You need to put the xot version 2 files back e.g. the ones you replaced and then follow the instructions in the moodle readme inside the documentation folder.</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>In short the old moodle patch stuff was built-in to the XOT code from at least 1.8 onwards so no need for a separate patch for ages.</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>You'll need to add the path to moodle config via the management.php page in the integration path field but make sure the install works via guest authentication first.</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>Now that we know the problem I doubt you need to worry about the moodle cookie prefix.</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>HTH</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>Ron</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></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"'> <a href="mailto:xerte-bounces@lists.nottingham.ac.uk">xerte-bounces@lists.nottingham.ac.uk</a> [<a href="mailto:xerte-bounces@lists.nottingham.ac.uk">mailto:xerte-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Tom Luxon<br><b>Sent:</b> 03 October 2013 16:40<br><b>To:</b> Xerte discussion list<br><b>Subject:</b> [Xerte] Re: Moodle Authentication Loop</span><o:p></o:p></p></div></div><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>Hi Ron,</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>Thanks for your reply.</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>I am using Xerte Toolkits 2.0.</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>If I set auth_config to:</span><o:p></o:p></p><p class=MsoNormal><i><span style='color:#1F497D'>$xerte_toolkits_site->authentication_method = 'Guest';</span></i><o:p></o:p></p><p class=MsoNormal><i><span style='color:#1F497D'>//$xerte_toolkits_site->authentication_method = 'Ldap';</span></i><o:p></o:p></p><p class=MsoNormal><i><span style='color:#1F497D'>//$xerte_toolkits_site->authentication_method = 'Db';</span></i><o:p></o:p></p><p class=MsoNormal><i><span style='color:#1F497D'>//$xerte_toolkits_site->authentication_method = 'Static';</span></i><o:p></o:p></p><p class=MsoNormal><i><span style='color:#1F497D'>//$xerte_toolkits_site->authentication_method = "Moodle";</span></i><o:p></o:p></p><p class=MsoNormal><i><span style='color:#1F497D'> </span></i><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>Then it still redirects to the moodle page and starts looping.</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>If I login to moodle first and then click the hyperlink I made to xerte it loops back to the moodle logon page.</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>I installed xerte first, and then moodle – my method of moodle integration followed Ron Mitchell’s patch guide where there are 5 files to change in the xerte directory:</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>session.php</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>management.php</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>index.php</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>config.php (if using 1.6 or later)</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>\website_code\php\scorm\export.php</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>How would I add a cookie prefix?</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>Thanks</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p><div><p class=MsoNormal><span style='color:#1F497D'>Kind Regards</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>Tom Luxon</span><o:p></o:p></p></div><p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US>From:</span></b><span lang=EN-US> <a href="mailto:xerte-bounces@lists.nottingham.ac.uk">xerte-bounces@lists.nottingham.ac.uk</a> [<a href="mailto:xerte-bounces@lists.nottingham.ac.uk">mailto:xerte-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Ron Mitchell<br><b>Sent:</b> 03 October 2013 15:07<br><b>To:</b> 'Xerte discussion list'<br><b>Subject:</b> [Xerte] Re: Moodle Authentication Loop</span><o:p></o:p></p></div></div><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>What version of XOT are you using?</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>Does it all work with auth_config.php set to guest?</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>What happens if you login to moodle first and then follow the link to xot?</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>The fact that you are being redirected when visiting xerte first suggests the integration path is correct - did you add that during install or via management.php?</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>Can you try adding a cookie prefix in Moodle and try again? Although watch that it will log people out when you change it so do it off-peak.</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>Just a few thoughts. </span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>Ron</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></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"'> <a href="mailto:xerte-bounces@lists.nottingham.ac.uk">xerte-bounces@lists.nottingham.ac.uk</a> [<a href="mailto:xerte-bounces@lists.nottingham.ac.uk">mailto:xerte-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Tom Luxon<br><b>Sent:</b> 01 October 2013 17:13<br><b>To:</b> Xerte discussion list<br><b>Subject:</b> [Xerte] Re: Moodle Authentication Loop</span><o:p></o:p></p></div></div><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>Hi,</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>Yes they are both installed on the same server under the same folder structure.</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>Thanks</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p><div><p class=MsoNormal><span style='color:#1F497D'>Kind Regards</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>Tom Luxon</span><o:p></o:p></p></div><p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US>From:</span></b><span lang=EN-US> <a href="mailto:xerte-bounces@lists.nottingham.ac.uk">xerte-bounces@lists.nottingham.ac.uk</a> [<a href="mailto:xerte-bounces@lists.nottingham.ac.uk">mailto:xerte-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Ron Mitchell<br><b>Sent:</b> 27 September 2013 14:42<br><b>To:</b> 'Xerte discussion list'<br><b>Subject:</b> [Xerte] Re: Moodle Authentication Loop</span><o:p></o:p></p></div></div><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>It sounds like <a href="http://SERVERIP/xertetoolkits">http://SERVERIP/xertetoolkits</a> can't access the session info from <a href="http://SERVERIP/moodle/">http://SERVERIP/moodle/</a> are theu both on the same server?</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></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"'> <a href="mailto:xerte-bounces@lists.nottingham.ac.uk">xerte-bounces@lists.nottingham.ac.uk</a> [<a href="mailto:xerte-bounces@lists.nottingham.ac.uk">mailto:xerte-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Tom Luxon<br><b>Sent:</b> 26 September 2013 09:39<br><b>To:</b> <a href="mailto:xerte@lists.nottingham.ac.uk">xerte@lists.nottingham.ac.uk</a><br><b>Subject:</b> [Xerte] Moodle Authentication Loop</span><o:p></o:p></p></div></div><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>Hi There,<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>I have tried to setup Moodle authentication with Xerte but have encountered a slight problem, please could you help?<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>What happens is:<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoListParagraph style='text-indent:-18.0pt'>1.<span style='font-size:7.0pt;font-family:"Times New Roman \, serif"'> </span>I navigate to <a href="http://SERVERIP/xertetoolkits">http://SERVERIP/xertetoolkits</a><o:p></o:p></p><p class=MsoListParagraph style='text-indent:-18.0pt'>2.<span style='font-size:7.0pt;font-family:"Times New Roman \, serif"'> </span>This redirects me to <a href="http://SERVERIP/moodle/login/index.php">http://SERVERIP/moodle/login/index.php</a> from where I am able to enter my AD username and password successfully. I am logged into moodle where I then click a link I added (<a href="http://SERVERIP/xertetoolkits">http://SERVERIP/xertetoolkits</a>) which should take me back to the xerte site….. (the link is there as I have not installed xerte within moodle)<o:p></o:p></p><p class=MsoListParagraph style='text-indent:-18.0pt'>3.<span style='font-size:7.0pt;font-family:"Times New Roman \, serif"'> </span>When I click the link or enter the xerte address in the same browser window I get directed back the moodle login page.<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>Can someone please tell me where I have gone wrong?<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>Thank you<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Kind Regards</span><o:p></o:p></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> </span></b><o:p></o:p></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Tom Luxon</span></b><o:p></o:p></p><p class=MsoNormal><a href="http://www.occam-dm.com/"><span style='color:blue;text-decoration:none'><img border=0 width=175 height=67 id="Picture_x0020_1" src="cid:image001.jpg@01CEC34F.EECA2160" alt="Description: cid:image001.jpg@01CD6C05.46106BD0"></span></a><o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> </span><o:p></o:p></p><div class=MsoNormal align=center style='text-align:center'><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><hr size=3 width="100%" align=center></span></div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>This email message has been delivered safely and archived online by Mimecast.<br>For more information please visit <a href="http://www.mimecast.com">http://www.mimecast.com</a> </span><o:p></o:p></p><div class=MsoNormal align=center style='text-align:center'><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><hr size=3 width="100%" align=center></span></div><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> </span><o:p></o:p></p><div class=MsoNormal align=center style='text-align:center'><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><hr size=3 width="100%" align=center></span></div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>This email message has been delivered safely and archived online by Mimecast.<br>For more information please visit <a href="http://www.mimecast.com">http://www.mimecast.com</a> </span><o:p></o:p></p><div class=MsoNormal align=center style='text-align:center'><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><hr size=3 width="100%" align=center></span></div><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> </span><o:p></o:p></p><div class=MsoNormal align=center style='text-align:center'><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><hr size=3 width="100%" align=center></span></div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>This email message has been delivered safely and archived online by Mimecast.<br>For more information please visit <a href="http://www.mimecast.com">http://www.mimecast.com</a> </span><o:p></o:p></p><div class=MsoNormal align=center style='text-align:center'><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><hr size=3 width="100%" align=center></span></div><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><div class=MsoNormal align=center style='text-align:center'><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><hr size=2 width="100%" align=center></span></div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>This email message has been delivered safely and archived online by Mimecast.<br>For more information please visit <a href="http://www.mimecast.com">http://www.mimecast.com</a> <o:p></o:p></span></p><div class=MsoNormal align=center style='text-align:center'><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><hr size=2 width="100%" align=center></span></div><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p> </o:p></span></p><pre>_______________________________________________<o:p></o:p></pre><pre>Xerte mailing list<o:p></o:p></pre><pre><a href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a><o:p></o:p></pre><pre><a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><o:p></o:p></pre></blockquote><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p> </o:p></span></p><pre>-- <o:p></o:p></pre><pre>--<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Tom Reijnders<o:p></o:p></pre><pre>TOR Informatica<o:p></o:p></pre><pre>Chopinlaan 27<o:p></o:p></pre><pre>5242HM Rosmalen<o:p></o:p></pre><pre>Tel: 073 5226191<o:p></o:p></pre><pre>Fax: 073 5226196<o:p></o:p></pre><pre><o:p> </o:p></pre><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:windowtext'><o:p> </o:p></span></p><div class=MsoNormal align=center style='text-align:center'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:windowtext'><hr size=3 width="100%" align=center></span></div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:windowtext'>This email message has been delivered safely and archived online by Mimecast.<br>For more information please visit <a href="http://www.mimecast.com">http://www.mimecast.com</a> <o:p></o:p></span></p><div class=MsoNormal align=center style='text-align:center'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:windowtext'><hr size=3 width="100%" align=center></span></div><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:windowtext'><o:p> </o:p></span></p><div class=MsoNormal align=center style='text-align:center'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:windowtext'><hr size=3 width="100%" align=center></span></div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:windowtext'>This email message has been delivered safely and archived online by Mimecast.<br>For more information please visit <a href="http://www.mimecast.com">http://www.mimecast.com</a> <o:p></o:p></span></p><div class=MsoNormal align=center style='text-align:center'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:windowtext'><hr size=3 width="100%" align=center></span></div></div></body></html>