[Xerte] Linux installation of toolkit

B.R.Dawson at lboro.ac.uk B.R.Dawson at lboro.ac.uk
Thu Feb 5 11:44:24 GMT 2009


Hi Pat,
The Linux install's .htaccess looks like this (with blank lines removed):

Options +FollowSymLinks
rewriteEngine on 
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 ^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 ^drawing$ /toolkits/drawing.php
rewriteRule ^data_([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=false
rewriteRule ^scorm_([0-9]+)$ /toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=true 

Cheers,
Bryan
-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Patrick Lockley
Sent: 05 February 2009 10:54
To: Xerte discussion list
Subject: RE: [Xerte] Linux installation of toolkit

Hello,

Welcome to the list.

I tried it on my Vista last weekend and it worked ok, but with XAMPP I have to start the services myself. It was built on linux, so it should behave itself.

It sounds like maybe an error with the .htaccess file?

What are the contents of the .htaccess in the toolkits folder.

Thanks

Pat

-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of B.R.Dawson at lboro.ac.uk
Sent: 05 February 2009 10:50
To: xerte at lists.nottingham.ac.uk
Subject: [Xerte] Linux installation of toolkit

Firstly thanks for the presentation last week.  I was good to be able to talk with the movers & shakers.
Since I got home, I have attempted 4 installations of the toolkit:
Xampp installation on Windows XP is fine.
Xampp installation on Vista throws a MySQL error if I install MySQL as a service but not if I start Apache and MySQL with the restart command.  I can live with that.
Neither installation on a Linux box running Fedora 9 is behaving itself, despite following the instructions.
The opening page appears, and I can create a folder and a project.
These are indeed created in USER_FILES, owned by user apache and have permissions 777.  However, when I try to edit a project, I get a 404 error and e.g. "/toolkits/edit_12 not found on this server", despite USER_FILES/12-Guestuser-Nottingham existing.

Any idea what I've done wrong?

Regards,
Bryan Dawson



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





More information about the Xerte mailing list