[Xerte-dev] Re: .htaccess
Pat @ Pgogy
xerte at pgogywebstuff.com
Mon Apr 29 08:04:29 BST 2013
Sorry, meant "removes the need for it"
On 29 Apr 2013, at 07:07, Tom Reijnders <reijnders at tor.nl> wrote:
> Not that I know of.
>
> Op 29-4-2013 2:00, Pat @ Pgogy schreef:
>> I'm not sure mixing a htaccess with a ? Makes sense, as mod rewrite removes that?
>>
>> I
>>
>> On 28 Apr 2013, at 14:15, Tom Reijnders <reijnders at tor.nl> wrote:
>>
>>> Only if you replace the /xerte with * again.
>>>
>>> And, please note, it solves the play and preview differently than your suggestion.
>>>
>>> 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.
>>>
>>> play_126 will choose the engine based on the default engine chosen by the author.
>>>
>>> Tom
>>>
>>> P.S. I don't understand why your modifications work, when the original line doesn't, but I am glad it does.. :-)
>>>
>>>
>>>
>>>
>>> Op 28-4-2013 14:51, Pat @ Pgogy schreef:
>>>> Is the htaccess.conf ok
>>>>
>>>> Also the play/preview rules?
>>>>
>>>> On 28 Apr 2013, at 13:50, "Ron Mitchell" <ronm at mitchellmedia.co.uk> wrote:
>>>>
>>>>> Hi Tom
>>>>> no need. :-)
>>>>> The attached works for me!
>>>>>
>>>>> Basically changed the order of things in a couple of the export rules:
>>>>>
>>>>> previous line 54
>>>>> rewriteRule ^export_full_([0-9]+)?(.*)$ /xerte/website_code/php/scorm/export.php?full=true&template_id=$1&scorm=false&$2
>>>>>
>>>>> new
>>>>> rewriteRule ^export_full_([0-9]+)?(.*)$ /xerte/website_code/php/scorm/export.php?full=true&scorm=false&template_id=$1&$2
>>>>>
>>>>> previous 70
>>>>> rewriteRule ^scorm_rich_([0-9]+)?(.*)$ /xerte/website_code/php/scorm/export.php?template_id=$1&data=rich&scorm=true&$2
>>>>>
>>>>> new
>>>>> rewriteRule ^scorm_rich_([0-9]+)?(.*)$ /xerte/website_code/php/scorm/export.php?data=rich&scorm=true&template_id=$1&$2
>>>>>
>>>>> Cheers
>>>>> Ron
>>>>>
>>>>>
>>>>>
>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
>>>>> Sent: 28 April 2013 11:38
>>>>> To: For Xerte technical developers
>>>>> Subject: [Xerte-dev] Re: .htaccess
>>>>>
>>>>> 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... ;-)
>>>>>
>>>>> Tom
>>>>>
>>>>> Op 28-4-2013 11:39, Ron Mitchell schreef:
>>>>> Hi Tom
>>>>> 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! :-(
>>>>>
>>>>> I've just put that in place and it seems deployment and 2004 export works but not archive or 1.2?
>>>>>
>>>>> <image001.jpg>
>>>>>
>>>>> Being dragged out now so will be offline for an hour or two :-0
>>>>>
>>>>> Cheers
>>>>> Ron
>>>>>
>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
>>>>> Sent: 28 April 2013 10:22
>>>>> To: For Xerte technical developers
>>>>> Subject: [Xerte-dev] Re: .htaccess
>>>>>
>>>>> Ron,
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20130429/3b48ab5d/attachment.html>
More information about the Xerte-dev
mailing list