[Xerte] Linux installation of toolkit
Patrick Lockley
Patrick.Lockley at nottingham.ac.uk
Thu Feb 5 11:47:41 GMT 2009
Hello,
Is it snowing where you are? We just had a fire alarm here :(
Ok so that looks fine - so I am guessing mod_rewrite isn't turned on.
If you do a php info page - look for "Loaded Modules" in the
"apache2handler" section (or do ctrl+f and type in "mod_rewrite").
If it isn't, it's a matter of opening the http.conf for apache and
removing the comment before mod_rewrite, then restarting apache.
The installer should have instructions on how to do this (for xampp) in
the zip.
Local installs of XAMPP come with mod_rewrite turned on, other installs
may not.
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 11:44
To: Xerte discussion list
Subject: RE: [Xerte] Linux installation of toolkit
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
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
More information about the Xerte
mailing list