<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Hi Tom</div><div>I just looked at the export links the install without htaccess was generating via Fiddler and changed the order accordingly e.g. What position template_id appears</div><div>Cheers</div><div>Ron<br><br>Sent from my iPhone</div><div><br>On 28 Apr 2013, at 14:15, Tom Reijnders <<a href="mailto:reijnders@tor.nl">reijnders@tor.nl</a>> wrote:<br><br></div><blockquote type="cite"><div>
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
Only if you replace the /xerte with * again. <br>
<br>
And, please note, it solves the play and preview differently than
your suggestion.<br>
<br>
For play your suggestion accepts play_126_javascript, whereas my
solution accepts play_126?engine=javascript. The latter because
that's the way the wizard works now.<br>
<br>
play_126 will choose the engine based on the default engine chosen
by the author.<br>
<br>
Tom<br>
<br>
P.S. I don't understand why your modifications work, when the
original line doesn't, but I am glad it does.. :-)<br>
<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">Op 28-4-2013 14:51, Pat @ Pgogy
schreef:<br>
</div>
<blockquote cite="mid:5AF864D0-2BE6-48F3-8004-F846D365F927@pgogywebstuff.com" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<div>Is the htaccess.conf ok</div>
<div><br>
</div>
<div>Also the play/preview rules?</div>
<div><br>
On 28 Apr 2013, at 13:50, "Ron Mitchell" <<a moz-do-not-send="true" href="mailto:ronm@mitchellmedia.co.uk">ronm@mitchellmedia.co.uk</a>>
wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<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: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;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 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";
color:black;}
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";
color:black;}
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;}
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.apple-tab-span
{mso-style-name:apple-tab-span;}
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-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">Hi
Tom<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">no
need. :-)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">The
attached works for me!<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">Basically
changed the order of things in a couple of the export
rules:<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">previous
line 54<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">rewriteRule
^export_full_([0-9]+)?(.*)$
/xerte/website_code/php/scorm/export.php?full=true&template_id=$1&scorm=false&$2<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">new<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">rewriteRule
^export_full_([0-9]+)?(.*)$
/xerte/website_code/php/scorm/export.php?full=true&scorm=false&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"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">previous
70<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">rewriteRule
^scorm_rich_([0-9]+)?(.*)$
/xerte/website_code/php/scorm/export.php?template_id=$1&data=rich&scorm=true&$2<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">new<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">rewriteRule
^scorm_rich_([0-9]+)?(.*)$
/xerte/website_code/php/scorm/export.php?data=rich&scorm=true&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"><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"><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"><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";color:windowtext" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext" 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> 28 April 2013 11:38<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>
<p class="MsoNormal" style="margin-bottom:12.0pt">Ok, I'll
have a look, at why those don't work. I'll try to set it
up on one of my installations. Bit easier to test... ;-)<br>
<br>
Tom<o:p></o:p></p>
<div>
<p class="MsoNormal">Op 28-4-2013 11:39, Ron Mitchell
schreef:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi
Tom</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">my
apologies. I just tracked back through my messages and
missed your updated .htaccess partly because you'd
renamed it as .txt but that's no excuse for not
reading your message properly! :-(</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I've
just put that in place and it seems deployment and
2004 export works but not archive or 1.2?</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><image001.jpg></span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Being
dragged out now so will be offline for an hour or two
:-0</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Cheers</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Ron</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";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 style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext" 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> 28 April 2013 10:22<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"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">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<o:p></o:p></p>
<div>
<p class="MsoNormal">Op 28-4-2013 11:03, Ron Mitchell
schreef:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<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.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Tom
suggested the current line 12:</span><o:p></o:p></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 </span><o:p></o:p></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.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Cheers</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Ron</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";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 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> 27 April 2013 23:58<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"> <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</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> </span><o:p></o:p></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</span><o:p></o:p></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></span><o:p></o:p></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</span><o:p></o:p></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""> </span><o:p></o:p></p>
<p class="MsoNormal"><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="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="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>></span><o:p></o:p></p>
</div>
<p class="MsoNormal"><span style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> </span><o:p></o:p></p>
<div>
<p class="MsoNormal"><b><span style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">To:</span></b><o:p></o:p></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>></span><o:p></o:p></p>
<div>
<p class="MsoNormal"><b><span style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">Cc:</span></b><o:p></o:p></p>
</div>
<p class="MsoNormal"><span style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> </span><o:p></o:p></p>
<div>
<p class="MsoNormal"><b><span style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">Sent:</span></b><o:p></o:p></p>
</div>
<p class="MsoNormal"><span style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">Sat,
27 Apr 2013 20:56:07 +0100</span><o:p></o:p></p>
<div>
<p class="MsoNormal"><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="margin-bottom:12.0pt"><span style="font-size:7.0pt;font-family:"Helvetica","sans-serif"">[Xerte-dev]
Re: .htaccess<br>
<br>
<br>
<br>
</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: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""> </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">Any
suggestions?</span><o:p></o:p></p>
<p><span style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> </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">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""> </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">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""> </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><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""> </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"">Hello,</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> </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"">HTaccess
debugging</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> </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"">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""> </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"">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""> </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"">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""> </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"">rewriteBase
/xertetoolkits is on</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> </span><o:p></o:p></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""> </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"">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""> </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"">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""> </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"">preview_idnumber</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> </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"">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""> </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"">preview_idnumber_linkID</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> </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"">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""> </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"">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""> </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"">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""> </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"">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""> </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"">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""> </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"">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""> </span><o:p></o:p></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""> </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"">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""> </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"">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""> </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 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""> </span><o:p></o:p></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""> </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 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""> </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><span style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> </span><o:p></o:p></p>
<p><span style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> </span><o:p></o:p></p>
<p><span style="font-size:7.0pt;font-family:"Helvetica","sans-serif""> </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: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""> </span><o:p></o:p></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>
<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>
<br>
<br>
</span><o:p></o:p></p>
</blockquote>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:7.0pt;font-family:"Helvetica","sans-serif""><br>
<br>
<br>
<br>
</span><o:p></o:p></p>
<p class="MsoNormal"><br>
<br>
<br>
<br>
<br>
<br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Xerte-dev mailing list<o:p></o:p></pre>
<pre><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></pre>
<pre><a moz-do-not-send="true" href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><br>
<br>
<br>
<o:p></o:p></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"><br>
<br>
<br>
<o:p></o:p></p>
<p class="MsoNormal"><br>
<br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Xerte-dev mailing list<o:p></o:p></pre>
<pre><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></pre>
<pre><a moz-do-not-send="true" href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><br>
<br>
<o:p></o:p></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>
</div>
</div>
</blockquote>
<blockquote type="cite">
<div><.htaccess - Copy.txt></div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>Xerte-dev mailing list</span><br>
<span><a moz-do-not-send="true" href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a></span><br>
<span><a moz-do-not-send="true" href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a></span><br>
</div>
</blockquote>
<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>
<br>
<br><br>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Xerte-dev mailing list</span><br><span><a href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a></span><br><span><a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a></span><br></div></blockquote></body></html>