[Xerte-dev] Re: FW: Toolkits export problem

Ron Mitchell ronm at mitchellmedia.co.uk
Tue Oct 30 16:35:46 GMT 2012


It's not been a major problem because I think most people don't change the
.htaccess setting to true during setup and so aren't using an xot specific
.htaccess e.g. the vast majority of LO's that get shared have the full url
with ?template_id=xyz

I guess this should be another thing triggered by upgrade.php?

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 30 October 2012 16:18
To: For Xerte technical developers
Subject: [Xerte-dev] Re: FW: Toolkits export problem

I guess there needs to be a sync up that if stuff is added to url_library
then the installer needs updating for the htaccess code

unless we modularise them some how....

On Tue, Oct 30, 2012 at 4:19 PM, Ron Mitchell <ronm at mitchellmedia.co.uk>
wrote:
> Could be wrong but I don't think there's anything that currently 
> changes or updates it during upgrade - I've been changing manually.
>
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian 
> Tenney
> Sent: 30 October 2012 16:12
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: FW: Toolkits export problem
>
> How is .htaccess made? During setup?
>
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat 
> Lockley
> Sent: 30 October 2012 16:12
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: FW: Toolkits export problem
>
> someone needs to test an apache install then I guess?
>
> On Tue, Oct 30, 2012 at 4:10 PM, Julian Tenney 
> <Julian.Tenney at nottingham.ac.uk> wrote:
>> I was mising the final _
>>
>>
>>
>> cheers
>>
>>
>>
>> From: xerte-dev-bounces at lists.nottingham.ac.uk
>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron 
>> Mitchell
>> Sent: 30 October 2012 16:12
>>
>>
>> To: 'For Xerte technical developers'
>> Subject: [Xerte-dev] Re: FW: Toolkits export problem
>>
>>
>>
>> Sorry should have said all the export options work for me and the 
>> relevant .htaccess line for full export is:
>>
>>
>>
>> rewriteRule ^export_full_([0-9]+)$
>> /xot/website_code/php/scorm/export.php?full=true&template_id=$1&scorm
>> =
>> false
>>
>>
>>
>> From: xerte-dev-bounces at lists.nottingham.ac.uk
>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron 
>> Mitchell
>> Sent: 30 October 2012 16:07
>> To: 'For Xerte technical developers'
>> Subject: [Xerte-dev] Re: FW: Toolkits export problem
>>
>>
>>
>> Try a simple one page LO does that export?
>>
>> If it does it's probably the SimpleXML.load issue - search the list 
>> for
>> subject: 2 odd problems
>>
>> Tom updated wizard.swf but not sure if that was committed
>>
>> Ron
>>
>>
>>
>> From: xerte-dev-bounces at lists.nottingham.ac.uk
>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian 
>> Tenney
>> Sent: 30 October 2012 15:55
>> To: For Xerte technical developers
>> Subject: [Xerte-dev] Re: FW: Toolkits export problem
>>
>>
>>
>> Export_full.
>>
>>
>>
>> I did that I don't get what I'm missing, sorry, here's the file, bold 
>> line is what I added
>>
>>
>>
>> Options +FollowSymLinks
>>
>>
>>
>> rewriteEngine on
>>
>> #RewriteEngine On
>>
>>
>>
>> ## Only the IP address below will be able to access the site
>>
>> #RewriteCond %{REMOTE_ADDR} !128.243.38.173 [NC]
>>
>> #RewriteRule !(maintenance/.*)$ /toolkits/maintenance/? [R=307,L]
>>
>>
>>
>> rewriteBase /
>>
>>
>>
>>
>>
>> rewriteRule ^edit_([A-Za-z0-9]+)$ /toolkits/edit.php?template_id=$1
>>
>>
>>
>> rewriteRule ^preview_([A-Za-z0-9]+)$
>> /toolkits/preview.php?template_id=$1
>>
>>
>>
>> rewriteRule ^preview_([A-Za-z0-9]+)_([A-Za-z0-9]+)$
>> /toolkits/preview.php?template_id=$1&linkID=$2
>>
>>
>>
>> rewriteRule ^example_([A-Za-z0-9]+)$
>> /toolkits/example.php?template_id=$1
>>
>>
>>
>> rewriteRule ^play_([A-Za-z0-9]+)$ /toolkits/play.php?template_id=$1
>>
>>
>>
>> rewriteRule ^properties_([A-Za-z0-9]+)$
>> /toolkits/properties.php?template_id=$1
>>
>>
>>
>> rewriteRule ^folderproperties_([A-Za-z0-9]+)_folder$
>> /toolkits/folderproperties.php?template_id=$1
>>
>>
>>
>> rewriteRule ^publishproperties_([A-Za-z0-9]+)$
>> /toolkits/publishproperties.php?template_id=$1
>>
>>
>>
>> rewriteRule ^drawing$ /toolkits/drawing.php
>>
>>
>>
>> rewriteRule ^xml_([A-Za-z0-9]+)$ /toolkits/data.php?template_id=$1
>>
>>
>>
>> rewriteRule ^peerreview_([A-Za-z0-9]+)$
>> /toolkits/peer.php?template_id=$1
>>
>>
>>
>> rewriteRule ^export_([0-9]+)$
>> /toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=fals
>> e
>>
>>
>>
>> rewriteRule ^export_full([0-9]+)$
>> /toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=fals
>> e
>>
>>
>>
>> rewriteRule ^scorm_([0-9]+)$
>> /toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=true
>>
>>
>>
>> rewriteRule ^RSS/$ /toolkits/rss.php
>>
>>
>>
>> rewriteRule
>> ^RSS/([A-Z][A-Za-z\'\-]?[A-Za-z\'\-]+_[A-Z][A-Za-z\'\-]?[A-Za-z\'\-]+
>> )
>> /$
>> /toolkits/rss.php?username=$1
>>
>>
>>
>> rewriteRule
>> ^RSS/([A-Z][A-Za-z\'\-]?[A-Za-z\'\-]+_[A-Z][A-Za-z\'\-]?[A-Za-z\'\-]+
>> )
>> /([A-Za-z0-9_]+)/$
>> /toolkits/rss.php?username=$1&folder_name=$2
>>
>>
>>
>> rewriteRule ^export/$ /toolkits/rss.php?export=true
>>
>>
>>
>> rewriteRule ^syndication/$ /toolkits/syndicate.php
>>
>>
>>
>> rewriteRule ^workspaceproperties$ /toolkits/workspaceproperties.php
>>
>>
>>
>> rewriteRule ^management$ /toolkits/management.php
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> -----Original Message-----
>> From: xerte-dev-bounces at lists.nottingham.ac.uk
>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat 
>> Lockley
>> Sent: 30 October 2012 15:54
>> To: For Xerte technical developers
>> Subject: [Xerte-dev] Re: FW: Toolkits export problem
>>
>>
>>
>> what is the URL you are trying to access?
>>
>>
>>
>> On Tue, Oct 30, 2012 at 3:48 PM, Julian Tenney 
>> <Julian.Tenney at nottingham.ac.uk> wrote:
>>
>>> I put this in:
>>
>>> rewriteRule ^export_full([0-9]+)$
>>
>>> /toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=fal
>>> s
>>> e
>>
>>>
>>
>>> but it still 404s.
>>
>>>
>>
>>> -----Original Message-----
>>
>>> From: xerte-dev-bounces at lists.nottingham.ac.uk
>>
>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat
>>
>>> Lockley
>>
>>> Sent: 30 October 2012 15:35
>>
>>> To: For Xerte technical developers
>>
>>> Subject: [Xerte-dev] Re: FW: Toolkits export problem
>>
>>>
>>
>>> Did you update the .htaccess when you upgraded?
>>
>>>
>>
>>> On 30 Oct 2012, at 15:13, Julian Tenney 
>>> <Julian.Tenney at nottingham.ac.uk>
>>> wrote:
>>
>>>
>>
>>>> Does anyone else have this problem, or have we done something funny?
>>
>>>>
>>
>>>> -----Original Message-----
>>
>>>> From: Cross Fay
>>
>>>> Sent: 19 October 2012 13:37
>>
>>>> To: Tenney Julian; Atack Simon
>>
>>>> Subject: Toolkits export problem
>>
>>>>
>>
>>>> Hello
>>
>>>>
>>
>>>> Not sure if this is something you're already aware of since the 
>>>> upgrade to 1.8.  I've just tried to do a 'Get Archive Zip' export 
>>>> of a project but it went to a 404 page not found.  The other export 
>>>> types
> seems to work ok.
>>
>>>>
>>
>>>> Fay
>>
>>>>
>>
>>>> _______________________________________________
>>
>>>> Xerte-dev mailing list
>>
>>>> Xerte-dev at lists.nottingham.ac.uk
>>
>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>>
>>>>
>>
>>>> This message and any attachment are intended solely for the 
>>>> addressee and may contain confidential information. If you have 
>>>> received
> this message in
>>>> error, please send it back to me, and immediately delete it.   Please
do
> not
>>>> use, copy or disclose the information contained in this message or 
>>>> in any attachment.  Any views or opinions expressed by the author 
>>>> of this email do not necessarily reflect the views of the 
>>>> University of
> Nottingham.
>>
>>>>
>>
>>>> This message has been checked for viruses but the contents of an
>>
>>>> attachment may still contain software viruses which could damage 
>>>> your computer system:
>>
>>>> you are advised to perform your own checks. Email communications 
>>>> with
>>
>>>> the University of Nottingham may be monitored as permitted by UK 
>>>> legislation.
>>
>>>>
>>
>>>
>>
>>> _______________________________________________
>>
>>> Xerte-dev mailing list
>>
>>> Xerte-dev at lists.nottingham.ac.uk
>>
>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>>
>>>
>>
>>> _______________________________________________
>>
>>> Xerte-dev mailing list
>>
>>> Xerte-dev at lists.nottingham.ac.uk
>>
>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>>
>>
>>
>> _______________________________________________
>>
>> Xerte-dev mailing list
>>
>> Xerte-dev at lists.nottingham.ac.uk
>>
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>>
>>
>>
>> This message and any attachment are intended solely for the addressee 
>> and may contain confidential information. If you have received this 
>> message in error, please send it back to me, and immediately delete 
>> it. Please do not use, copy or disclose the information contained in 
>> this message or in any attachment. Any views or opinions expressed by 
>> the author of this email do not necessarily reflect the views of the
> University of Nottingham.
>>
>> This message has been checked for viruses but the contents of an 
>> attachment may still contain software viruses which could damage your
> computer system:
>> you are advised to perform your own checks. Email communications with 
>> the University of Nottingham may be monitored as permitted by UK
> legislation.
>>
>>
>> _______________________________________________
>> Xerte-dev mailing list
>> Xerte-dev at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>>
>> This message and any attachment are intended solely for the addressee 
>> and may contain confidential information. If you have received this
> message in
>> error, please send it back to me, and immediately delete it.   Please do
> not
>> use, copy or disclose the information contained in this message or in 
>> any attachment.  Any views or opinions expressed by the author of 
>> this email do not necessarily reflect the views of the University of
> Nottingham.
>>
>> This message has been checked for viruses but the contents of an 
>> attachment may still contain software viruses which could damage your
> computer system:
>> you are advised to perform your own checks. Email communications with 
>> the University of Nottingham may be monitored as permitted by UK
> legislation.
>>
>>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev




More information about the Xerte-dev mailing list