<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Ron,<br>
    <br>
    Apparently you didn't receive my reply on April 25?<br>
    <br>
    It oncluded a version that should have a working export for you.
    It's different than the one you have attached here, so I'll post it
    again.<br>
    <br>
    Tom<br>
    <br>
    <div class="moz-cite-prefix">Op 28-4-2013 11:03, Ron Mitchell
      schreef:<br>
    </div>
    <blockquote cite="mid:005f01ce43ef$4ccf93c0$e66ebb40$@co.uk"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 12 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@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;}
/* 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";}
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";}
span.apple-tab-span
        {mso-style-name:apple-tab-span;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle21
        {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]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I'm
            not sure how correct the attached is as it's something I
            edited over time while 1.9 was being developed. But it
            worked including export until the engine= changes and I know
            Tom was going to look at this further but probably hasn't
            had time yet. The normal play and preview work but export
            doesn't.<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>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Tom
            suggested the current line 12:<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">rewriteRule
            ^preview_([A-Za-z0-9]+)?(.*)$
            /xerte/preview.php?template_id=$1&$2 <o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">and
            that enables Ctrl + Play to toggle the engine and that works
            but I haven't been able to find a solution for export.<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>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Cheers<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Ron<o:p></o:p></span></p>
        <p class="MsoNormal"><a moz-do-not-send="true"
            name="_MailEndCompose"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";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
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
                  lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
                lang="EN-US"> <a class="moz-txt-link-abbreviated" href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>
                [<a class="moz-txt-link-freetext" href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On
                  Behalf Of </b><a class="moz-txt-link-abbreviated" href="mailto:xerte@pgogywebstuff.com">xerte@pgogywebstuff.com</a><br>
                <b>Sent:</b> 27 April 2013 23:58<br>
                <b>To:</b> For Xerte technical developers<br>
                <b>Subject:</b> [Xerte-dev] Re: .htaccess<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div>
          <p class="MsoNormal"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">I
              have no idea what the export links are now, or what is in
              the htaccess<o:p></o:p></span></p>
        </div>
        <div>
          <p class="MsoNormal"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""><o:p> </o:p></span></p>
        </div>
        <div>
          <p class="MsoNormal"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">If
              you send the links and the export reg exps I will have a
              look<o:p></o:p></span></p>
        </div>
        <p class="MsoNormal"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> <br>
            Pgogy Webstuff <a moz-do-not-send="true"
              href="http://www.pgogywebstuff.com">http://www.pgogywebstuff.com</a><o:p></o:p></span></p>
        <div>
          <p class="MsoNormal"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">Makers
              of Web things of a fair to middling quality<o:p></o:p></span></p>
        </div>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <p class="MsoNormal"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""><o:p> </o:p></span></p>
          <p class="MsoNormal"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""><br>
              ----- Original Message -----<o:p></o:p></span></p>
          <div>
            <div>
              <p class="MsoNormal" style="background:#E4E4E4"><b><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">From:<o:p></o:p></span></b></p>
            </div>
            <p class="MsoNormal" style="background:#E4E4E4"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">"For
                Xerte technical developers" <<a
                  moz-do-not-send="true"
                  href="mailto:xerte-dev@lists.nottingham.ac.uk">xerte-dev@lists.nottingham.ac.uk</a>><o:p></o:p></span></p>
          </div>
          <p class="MsoNormal"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""><o:p> </o:p></span></p>
          <div>
            <p class="MsoNormal"><b><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">To:<o:p></o:p></span></b></p>
          </div>
          <p class="MsoNormal"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">"For
              Xerte technical developers" <<a moz-do-not-send="true"
                href="mailto:xerte-dev@lists.nottingham.ac.uk">xerte-dev@lists.nottingham.ac.uk</a>><o:p></o:p></span></p>
          <div>
            <p class="MsoNormal"><b><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">Cc:<o:p></o:p></span></b></p>
          </div>
          <p class="MsoNormal"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""><o:p> </o:p></span></p>
          <div>
            <p class="MsoNormal"><b><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">Sent:<o:p></o:p></span></b></p>
          </div>
          <p class="MsoNormal"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">Sat,
              27 Apr 2013 20:56:07 +0100<o:p></o:p></span></p>
          <div>
            <p class="MsoNormal"><b><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">Subject:<o:p></o:p></span></b></p>
          </div>
          <p class="MsoNormal" style="margin-bottom:12.0pt"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">[Xerte-dev]
              Re: .htaccess<br>
              <br>
              <o:p></o:p></span></p>
          <div>
            <p class="MsoNormal"
              style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi
                Pat/Tom/all</span><o:p></o:p></p>
            <p class="MsoNormal"
              style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">is
                there a solution to this for Export before any of the
                engine changes Pat has listed are made?</span><o:p></o:p></p>
            <p class="MsoNormal"
              style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">We've
                got a real problem on one of the Techdis installations
                now where I can't turn .htaccess use off because it
                would installantly break all the links to LO's Alistair
                and co have shared but at the same time at the moment
                with .htaccess on none of the export options work. I
                don't really want to revert the install back to before
                Tom's engine= changes but I've tried a few variations of
                rules to get export to work without success so far. Even
                if only archive export worked for now that would be
                better than no export working.</span><o:p></o:p></p>
            <p><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> <o:p></o:p></span></p>
            <p class="MsoNormal"
              style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Any
                suggestions?</span><o:p></o:p></p>
            <p><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> <o:p></o:p></span></p>
            <p class="MsoNormal"
              style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Cheers</span><o:p></o:p></p>
            <p class="MsoNormal"
              style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Ron
              </span><o:p></o:p></p>
            <p><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> <o:p></o:p></span></p>
            <p class="MsoNormal"
              style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">BTW
                am I right in thinking the engine.fla still needs to be
                kept as Flash 8? I no longer have a Flash 8 install and
                wary of making any changes in CS4.</span><o:p></o:p></p>
            <p><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> <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"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
                      lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
                    lang="EN-US"> <a moz-do-not-send="true"
                      href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>
                    [<a moz-do-not-send="true"
                      href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>]
                    <b>On Behalf Of </b><a moz-do-not-send="true"
                      href="mailto:xerte@pgogywebstuff.com">xerte@pgogywebstuff.com</a><br>
                    <b>Sent:</b> 25 April 2013 23:51<br>
                    <b>To:</b> For Xerte technical developers<br>
                    <b>Subject:</b> [Xerte-dev] Re: .htaccess</span><o:p></o:p></p>
              </div>
            </div>
            <p><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> <o:p></o:p></span></p>
            <div>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">Hello,</span><o:p></o:p></p>
            </div>
            <div>
              <p><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> <o:p></o:p></span></p>
            </div>
            <div>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">HTaccess
                  debugging</span><o:p></o:p></p>
            </div>
            <div>
              <p><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> <o:p></o:p></span></p>
            </div>
            <div>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">One,
                  the default engine link in the wizard *to me* doesn't
                  follow the HTaccess approach</span><o:p></o:p></p>
            </div>
            <div>
              <p><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> <o:p></o:p></span></p>
            </div>
            <div>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">So
                  here are some new HTaccess rules</span><o:p></o:p></p>
            </div>
            <div>
              <p><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> <o:p></o:p></span></p>
            </div>
            <div>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">These
                  will work on a localhost/xertetoolkts install if </span><o:p></o:p></p>
            </div>
            <div>
              <p><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> <o:p></o:p></span></p>
            </div>
            <div>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">rewriteBase
                  /xertetoolkits is on</span><o:p></o:p></p>
            </div>
            <div>
              <p><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> <o:p></o:p></span></p>
            </div>
            <div>
              <div>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">rewriteRule
                    ^preview_([A-Za-z0-9]+)_([A-Za-z0-9]+)$
                    preview.php?template_id=$1&linkID=$2</span><o:p></o:p></p>
              </div>
              <div>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">rewriteRule
                    ^preview_([A-Za-z0-9]+)_([A-Za-z]+)$
                    preview.php?template_id=$1&engine=$2</span><o:p></o:p></p>
              </div>
              <div>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">rewriteRule
                    ^preview_([A-Za-z0-9]+)_([A-Za-z]+)_([A-Za-z0-9]+)$
preview.php?template_id=$1&engine=$2&linkID=$3</span><o:p></o:p></p>
              </div>
            </div>
            <div>
              <p><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> <o:p></o:p></span></p>
            </div>
            <div>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">In
                  the wizard the following toggle needs to apply (I
                  don't have flash on this computer)</span><o:p></o:p></p>
            </div>
            <div>
              <p><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> <o:p></o:p></span></p>
            </div>
            <div>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">If
                  apache is set the link becomes</span><o:p></o:p></p>
            </div>
            <div>
              <p><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> <o:p></o:p></span></p>
            </div>
            <div>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">preview_idnumber</span><o:p></o:p></p>
            </div>
            <div>
              <p><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> <o:p></o:p></span></p>
            </div>
            <div>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">if
                  control is held down then then link is</span><o:p></o:p></p>
            </div>
            <div>
              <p><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> <o:p></o:p></span></p>
            </div>
            <div>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">preview_idnumber_linkID</span><o:p></o:p></p>
            </div>
            <div>
              <p><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> <o:p></o:p></span></p>
            </div>
            <div>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">if
                  control is held down then the link is</span><o:p></o:p></p>
            </div>
            <div>
              <p><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> <o:p></o:p></span></p>
            </div>
            <div>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">preview_idnumber_enginename
                  (enginename is always text only  - no numbers and no
                  ascii)</span><o:p></o:p></p>
            </div>
            <div>
              <p><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> <o:p></o:p></span></p>
            </div>
            <div>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">if
                  control and shift are both held down</span><o:p></o:p></p>
            </div>
            <div>
              <p><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> <o:p></o:p></span></p>
            </div>
            <div>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">preview_idnumber_enginename_linkID<span
                    class="apple-tab-span"> </span></span><o:p></o:p></p>
            </div>
            <div>
              <p><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> <o:p></o:p></span></p>
            </div>
            <div>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">Note
                  enginename comes before linkID</span><o:p></o:p></p>
            </div>
            <div>
              <p><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> <o:p></o:p></span></p>
            </div>
            <div>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">I
                  don't have flash to fix this at home, but if some one
                  can put the ifs into the wizard that should fix it</span><o:p></o:p></p>
            </div>
            <p class="MsoNormal"
              style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> <br>
                Pgogy Webstuff <a moz-do-not-send="true"
                  href="http://www.pgogywebstuff.com">http://www.pgogywebstuff.com</a></span><o:p></o:p></p>
            <div>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">Makers
                  of Web things of a fair to middling quality</span><o:p></o:p></p>
            </div>
            <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
              <p><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> <o:p></o:p></span></p>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""><br>
                  ----- Original Message -----</span><o:p></o:p></p>
              <div>
                <div>
                  <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:#E4E4E4"><b><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">From:</span></b><o:p></o:p></p>
                </div>
                <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:#E4E4E4"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">"For
                    Xerte technical developers" <<a
                      moz-do-not-send="true"
                      href="mailto:xerte-dev@listsnottingham.ac.uk">xerte-dev@lists.nottingham.ac.uk</a>></span><o:p></o:p></p>
              </div>
              <p><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> <o:p></o:p></span></p>
              <div>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">To:</span></b><o:p></o:p></p>
              </div>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">"For
                  Xerte technical developers" <<a
                    moz-do-not-send="true"
                    href="mailto:xerte-dev@lists.nottingham.ac.uk">xerte-dev@lists.nottingham.ac.uk</a>></span><o:p></o:p></p>
              <div>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">Cc:</span></b><o:p></o:p></p>
              </div>
              <p><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> <o:p></o:p></span></p>
              <div>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">Sent:</span></b><o:p></o:p></p>
              </div>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">Thu,
                  25 Apr 2013 23:18:41 +0100</span><o:p></o:p></p>
              <div>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">Subject:</span></b><o:p></o:p></p>
              </div>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;margin-bottom:12.0pt"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">[Xerte-dev]
                  Re: .htaccess</span><o:p></o:p></p>
              <div>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">I
                    am now working in this area, let me see</span><o:p></o:p></p>
              </div>
              <div>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;margin-bottom:12.0pt"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""><br>
                    On 25 Apr 2013, at 20:40, Tom Reijnders <<a
                      moz-do-not-send="true"
                      href="mailto:reijnders@tor.nl">reijnders@tor.nl</a>>
                    wrote:</span><o:p></o:p></p>
              </div>
              <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
                <div>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;margin-bottom:12.0pt"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">Ehmm,
                      can I have your version of the .htacces?<br>
                      <br>
                      I mean how does you normal preview look?<br>
                      <br>
                      I don't understand the /xerte/preview<br>
                      <br>
                      The difference should be the ?(.*) before the $
                      and the &$2 at the end.</span><o:p></o:p></p>
                  <div>
                    <p class="MsoNormal"
                      style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">Op
                        25-4-2013 20:44, Ron Mitchell schreef:</span><o:p></o:p></p>
                  </div>
                  <blockquote
                    style="margin-top:5.0pt;margin-bottom:5.0pt">
                    <div>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                          style="color:#1F497D">Hi Tom</span><o:p></o:p></p>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">rewriteRule
                        ^preview_([A-Za-z0-9]+)?(.*)$
                        */preview.php?template_id=$1&$2 worked for
                        Ctrl + Play preview although I obviously had to
                        change it to /xerte/preview.php rather than
                        */preview.php<o:p></o:p></p>
                      <p><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> <o:p></o:p></span></p>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                          style="color:#1F497D">I tried applying the
                          same principal to one of the export rules but
                          that didn't work - probably due to my lack of
                          knowledge of regular expressions etc :-(</span><o:p></o:p></p>
                      <p><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> <o:p></o:p></span></p>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                          style="color:#1F497D">Happy to test export
                          additions?</span><o:p></o:p></p>
                      <p><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> <o:p></o:p></span></p>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                          style="color:#1F497D">I think ideally we need
                          a definitive \setup\htaccess.conf for people
                          to use for reference.</span><o:p></o:p></p>
                      <p><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> <o:p></o:p></span></p>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                          style="color:#1F497D">Cheers</span><o:p></o:p></p>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                          style="color:#1F497D">Ron</span><o:p></o:p></p>
                      <p><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> <o:p></o:p></span></p>
                      <p><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> <o:p></o:p></span></p>
                      <p><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> <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"
                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
                                lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
                              lang="EN-US"> <a moz-do-not-send="true"
                                href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>
                              [<a moz-do-not-send="true"
                                href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>]
                              <b>On Behalf Of </b>Tom Reijnders<br>
                              <b>Sent:</b> 25 April 2013 10:11<br>
                              <b>To:</b> For Xerte technical developers<br>
                              <b>Subject:</b> [Xerte-dev] Re: .htaccess</span><o:p></o:p></p>
                        </div>
                      </div>
                      <p><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> <o:p></o:p></span></p>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;margin-bottom:12.0pt">No,
                        the wizard tries to load preview.php and
                        play.php, but it doesn't add any sizes to the
                        url, like the xerte play and preview do.<br>
                        <br>
                        <br>
                        The issue with .htaccess and xerte preview is
                        that now you can have url parameters added to
                        the .htaccess urls, like play_126?engine=other,
                        and the rules don't handle the ?engine=other
                        properly. I sent a fix for Ron to try by PM,
                        because I couldn't send anything to the list for
                        some 30 minutes.<br>
                        <br>
                        <br>
                        Tom<o:p></o:p></p>
                      <div>
                        <p class="MsoNormal"
                          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Op
                          25-4-2013 11:03, Julian Tenney schreef:<o:p></o:p></p>
                      </div>
                      <blockquote
                        style="margin-top:5.0pt;margin-bottom:5.0pt">
                        <p class="MsoNormal"
                          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                            style="color:#1F497D">OK. Does it impact the
                            re-write rule? At this point I’d rather just
                            make it work, than be graceful… what I think
                            it means is that for bootstrap tempaltes,
                            the url the wizard tries to load will be
                            preview_sitephp and play_site.php? I’m not
                            sure if it affects what you’re talking about
                            or not?</span><o:p></o:p></p>
                        <p class="MsoNormal"
                          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><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"
                              style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
                                  lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
                                lang="EN-US"> <a moz-do-not-send="true"
href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>
                                [<a moz-do-not-send="true"
                                  href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>]
                                <b>On Behalf Of </b>Tom Reijnders<br>
                                <b>Sent:</b> 25 April 2013 10:01<br>
                                <b>To:</b> For Xerte technical
                                developers<br>
                                <b>Subject:</b> [Xerte-dev] Re:
                                .htaccess</span><o:p></o:p></p>
                          </div>
                        </div>
                        <p class="MsoNormal"
                          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                        <p class="MsoNormal"
                          style="mso-margin-top-alt:auto;margin-bottom:12.0pt">I
                          didn't change it (combine preview of site and
                          xerte) because the url parameters were
                          different, and I felt we hadn't time to test
                          changes thoroughly enough, so at the moment I
                          only changed the absolute minimum.<br>
                          <br>
                          Tom<o:p></o:p></p>
                        <div>
                          <p class="MsoNormal"
                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Op
                            25-4-2013 10:09, Julian Tenney schreef:<o:p></o:p></p>
                        </div>
                        <blockquote
                          style="margin-top:5.0pt;margin-bottom:5.0pt">
                          <p class="MsoNormal"
                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                              style="color:#1F497D">In the wizard (I
                              think you mean) is code that launches the
                              site template that does something along
                              the lines of (if templateruntime =
                              ‘preview_sitephp’) blah which launches the
                              site template in the preview_site page. If
                              you remember, way back when, when we
                              originally anticipated different runtimes,
                              we had a runtime param in the xwd file to
                              point to alternative renderers for
                              content. If you want to look it’s in
                              function preview()</span><o:p></o:p></p>
                          <p class="MsoNormal"
                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                              style="color:#1F497D"> </span><o:p></o:p></p>
                          <p class="MsoNormal"
                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                              style="color:#1F497D">I would have thought
                              that when the recent modularisation stuff
                              was done, this might have been made
                              redundant, or handled differently, and
                              maybe this code should change? But I don’t
                              have enough sight of the other side of the
                              coin to know how?</span><o:p></o:p></p>
                          <p class="MsoNormal"
                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><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"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
                                    lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
                                  lang="EN-US"> <a
                                    moz-do-not-send="true"
                                    href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>
                                  [<a moz-do-not-send="true"
                                    href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>]
                                  <b>On Behalf Of </b>Pat @ Pgogy <br>
                                  <b>Sent:</b> 24 April 2013 20:35<br>
                                  <b>To:</b> For Xerte technical
                                  developers<br>
                                  <b>Subject:</b> [Xerte-dev] Re:
                                  .htaccess</span><o:p></o:p></p>
                            </div>
                          </div>
                          <p class="MsoNormal"
                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                          <div>
                            <p class="MsoNormal"
                              style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Looks
                              like something is up in the engine as
                              well?<o:p></o:p></p>
                          </div>
                          <div>
                            <p class="MsoNormal"
                              style="mso-margin-top-alt:auto;margin-bottom:12.0pt"><br>
                              On 24 Apr 2013, at 19:41, Tom Reijnders
                              <<a moz-do-not-send="true"
                                href="mailto:reijnders@tor.nl">reijnders@tor.nl</a>>
                              wrote:<o:p></o:p></p>
                          </div>
                          <blockquote
                            style="margin-top:5.0pt;margin-bottom:5.0pt">
                            <div>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Ah
                                ok. olet me work on the rewriteRule,
                                because it doesn't allow for extra
                                parameters now......<o:p></o:p></p>
                              <div>
                                <p class="MsoNormal"
                                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Op
                                  24-4-2013 18:11, Ron Mitchell schreef:<o:p></o:p></p>
                              </div>
                              <blockquote
                                style="margin-top:5.0pt;margin-bottom:5.0pt">
                                <p class="MsoNormal"
                                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                                    style="color:#1F497D">Just been
                                    testing this a bit more and for
                                    instance with the editor open
                                    clicking play to preview works fine
                                    with Apache/.htaccess enabled or not
                                    but clicking Ctrl + Play with
                                    Apache/.htaccess enabled results in
                                    <a moz-do-not-send="true"
                                      href="http://vlejisctechdis.ac.uk/xerte/preview_310&engine=other">http://vle.jisctechdis.ac.uk/xerte/preview_310&engine=other</a>
                                    and so doesn't work ends up with a
                                    page not found</span><o:p></o:p></p>
                                <p class="MsoNormal"
                                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                                    style="color:#1F497D"> </span><o:p></o:p></p>
                                <p class="MsoNormal"
                                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                                    style="color:#1F497D">What needs to
                                    change or be added to the .htaccess?</span><o:p></o:p></p>
                                <p class="MsoNormal"
                                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                                    style="color:#1F497D"> </span><o:p></o:p></p>
                                <p class="MsoNormal"
                                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                                    style="color:#1F497D">e.g.</span><o:p></o:p></p>
                                <p class="MsoNormal"
                                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                                    style="color:#1F497D">rewriteRule
                                    ^preview_([A-Za-z0-9]+)$
                                    /xerte/preview.php?template_id=$1</span><o:p></o:p></p>
                                <p class="MsoNormal"
                                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                                    style="color:#1F497D"> </span><o:p></o:p></p>
                                <p class="MsoNormal"
                                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                                    style="color:#1F497D">I think it's a
                                    similar problem for the export
                                    links.</span><o:p></o:p></p>
                                <p class="MsoNormal"
                                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                                    style="color:#1F497D"> </span><o:p></o:p></p>
                                <p class="MsoNormal"
                                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                                    style="color:#1F497D">I think this
                                    is an important issue for those
                                    using .htaccess previously (e.g.
                                    Nottingham) because if Apache was
                                    switched off via management existing
                                    links would obviously break. But at
                                    the moment with Apache enabled I
                                    don't think export and Ctrl + Play
                                    works.</span><o:p></o:p></p>
                                <p class="MsoNormal"
                                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                                    style="color:#1F497D"> </span><o:p></o:p></p>
                                <p class="MsoNormal"
                                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                                    style="color:#1F497D">HTH</span><o:p></o:p></p>
                                <p class="MsoNormal"
                                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                                    style="color:#1F497D">Cheers</span><o:p></o:p></p>
                                <p class="MsoNormal"
                                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                                    style="color:#1F497D">Ron</span><o:p></o:p></p>
                                <p class="MsoNormal"
                                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><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"
                                      style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
                                          lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
                                        lang="EN-US"> <a
                                          moz-do-not-send="true"
                                          href="mailto:xerte-dev-bounces@lists.nottingham.acuk">xerte-dev-bounces@lists.nottingham.ac.uk</a>
                                        [<a moz-do-not-send="true"
                                          href="mailto:xerte-dev-bounces@listsnottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>]
                                        <b>On Behalf Of </b>Pat @ Pgogy<br>
                                        <b>Sent:</b> 22 April 2013 20:05<br>
                                        <b>To:</b> For Xerte technical
                                        developers<br>
                                        <br>
                                        <br>
                                      </span><o:p></o:p></p>
                                  </div>
                                </div>
                              </blockquote>
                            </div>
                          </blockquote>
                        </blockquote>
                      </blockquote>
                    </div>
                  </blockquote>
                </div>
              </blockquote>
              <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
                <div>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">_______________________________________________<br>
                      Xerte-dev mailing list<br>
                      <a moz-do-not-send="true"
                        href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a><br>
                      <a moz-do-not-send="true"
                        href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev">http://lists.nottinghamac.uk/mailman/listinfo/xerte-dev</a></span><o:p></o:p></p>
                </div>
              </blockquote>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;margin-bottom:12.0pt"><o:p> </o:p></p>
            </blockquote>
            <p class="MsoNormal"
              style="mso-margin-top-alt:auto;margin-bottom:12.0pt"><o:p> </o:p></p>
          </div>
          <p class="MsoNormal" style="margin-bottom:12.0pt"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""><br>
              <br>
              <o:p></o:p></span></p>
        </blockquote>
        <p class="MsoNormal" style="margin-bottom:12.0pt"><span
style="font-size:7.0pt;font-family:"Helvetica","sans-serif""><br>
            <br>
            <o:p></o:p></span></p>
      </div>
      <br>
      <br>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Xerte-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a>
<a class="moz-txt-link-freetext" href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
--

Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196

</pre>
  </body>
</html>