[Server-devel] Browsing school server

David Leeming leeming at pipolfastaem.gov.sb
Sat Jan 17 17:05:55 EST 2009



Many thanks. It's weird because I was using 0.5-0 and I only needed the
single link to /var/www/html/content to get back to the folders of content
and browse them. I did not need to do any of the suggested actions below.
But I will try this and learn something new! Thanks.


David Leeming

Technical Advisor, People First Network, Honiara, Solomon Islands

Alternative email address: leemingdavid at yahoo.com.au 



From: Anna [mailto:aschoolf at gmail.com] 
Sent: Saturday, 17 January 2009 5:08 a.m.
To: Martin Langhoff
Cc: David Leeming; XS Devel
Subject: Re: [Server-devel] Browsing school server



On Fri, Jan 16, 2009 at 11:21 AM, Martin Langhoff
<martin.langhoff at gmail.com> wrote:

There is an alternative you can also use - less moodle-centric, and
may be unsupported going forward

1 - create a new directory: /var/www/mylocalcontent , put your files there

2 - add a new apache config file in /etc/httpd/conf.d - in that file,
you need an Alias line, and a <Directory> section. I think it needsto
be something like

  Alias /mylocalcontent /var/www/mylocalcontent
  <Directory /var/www/mylocalcontent>
  order allow,deny
  allow all

3 - Edit the moodle header include to add a link to that content -
look in /var/www/moodle/web/themes/xo/header.html

Since, at least for now, we're not going to be using moodle in Birmingham
yet, I renamed  


to /etc/httpd/conf.d/010-make-moodle-default.conf.orig

and then /var/www/html/ went back to the way it was as in XS 0.4.  In fact,
on my test server, I have /var/www/html on a separate partition on another
physical drive, so it only took an fstab edit to put the web content back.

Anna Schoolfield

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.laptop.org/pipermail/server-devel/attachments/20090118/83229ff2/attachment.htm 

More information about the Server-devel mailing list