USB keyboard replacement

2010-04-06 Thread John Watlington

I have been installing USB keyboards in a few XO-1.5s, and took
a recent opportunity to document the process:

http://wiki.laptop.org/go/XO_1.5_USB_Keyboard

Cheers,
wad

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [OLPC/Paraguay] Debugging NetworkManager-0.7.2.995 + Power Management

2010-04-06 Thread Dan Williams
On Mon, 2010-04-05 at 17:34 -0300, mabente wrote:
 Very sorry for the late response, here is the messages log and gdb
 backtrace log!
 
 Hopefully it will be helpful :)

Yes, quite.  Please try:

https://admin.fedoraproject.org/updates/NetworkManager-0.7.2.996-1.fc11,NetworkManager-vpnc-0.7.2.996-1.fc11,NetworkManager-openconnect-0.7.2.996-1.fc11,NetworkManager-pptp-0.7.2.996-1.fc11,NetworkManager-openvpn-0.7.2.996-1.fc11

and let me know if that fixes the problem.  The upstream fix for the
issue is:

0.7.x: 
http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?h=NETWORKMANAGER_0_7id=e44e908747edc8eb61506bb29e7ac24292f7565c
0.8.x: 
http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=a7e3d2acc29d3e7c267298df9a19a514ca628b37

Thanks!
Dan


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: USB keyboard replacement

2010-04-06 Thread Mikus Grinbergs
 I have been installing USB keyboards in a few XO-1.5s.

To me, sounds complicated.  I've been using an external USB keyboard all
along, and the XO drops power on the USB bus when it suspends.

When the XO has only an USB keyboard, and suspends -- the user would
need to tap the keypad to be able to type again.

mikus


 p.s.  BTW, I like the external Adesso AKB-110W USB keyboard.
   It is only three inches wider than the XO, and fits into
   the pack I use for carrying my XO.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: USB keyboard replacement

2010-04-06 Thread Paul Fox
mikus wrote:
   I have been installing USB keyboards in a few XO-1.5s.
  
  To me, sounds complicated.

it is.  very.  i've watched wad do it.  and redo it.  :-)
it might even be more complicated than that page makes it look!
i modified my own G1G1 XO a couple of years ago in a similar
fashion.  but i wasn't as careful, and the plastic case now has
stress cracks showing up in several places due to the force i had
to use to cram everything back together.  wad has done a much better
job of making things fit properly.

  I've been using an external USB keyboard all
  along, and the XO drops power on the USB bus when it suspends.
  
  When the XO has only an USB keyboard, and suspends -- the user would
  need to tap the keypad to be able to type again.

yes.  in theory XO-1.5 has the ability to wake on USB events.  it's
on my todo list to see if that can be made to work properly.

the laptops being modified by wad are proof-of-concept prototypes
to see how that sort of keyboard might work for deployments to
older students.  if they were to become real, the keyboard
would not be connected via USB.

   p.s.  BTW, I like the external Adesso AKB-110W USB keyboard.
 It is only three inches wider than the XO, and fits into
 the pack I use for carrying my XO.

certainly i wouldn't choose the micro keyboard that we've been able
to fit into the XO case as an external keyboard if i had a choice.
it's useable, but still too small.  and it lacks a right-hand shift key.

paul
=-
 paul fox, p...@laptop.org
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Review of our application

2010-04-06 Thread Jose Camallonga
Hello everybody,

I'm Jose a computer science student of FIB (http://www.fib.upc.edu/en.html).
We are developing an activity for Sugar and our director told us to ask here
for a review of our code.

Is that correct? Where can I attach my code if that is possible?

Thanks.

-- 
Best regards,

Jose Antonio Camallonga
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: need OLPC contact

2010-04-06 Thread Samuel Klein
Sarah, thank you.

So you suggest including WeSay in our Gnome builds - that's an
interesting idea, and something that Yama mentioned a year ago...
certainly suitable for the OLPC devel list.  That's also the place to
discuss Mono in general,  necessary if this were to become a
widespread effort.
  http://wesay.org/wiki/Getting_Mono_on_OLPC

Do you work with developers who could help make a Sugar activity out
of wesay as well?  It would be nice to offer it as a download to the
1 million students currently using an XO-1, who don't have a Gnome
desktop option:

SJ
who just joined the wesay group.
On Mon, Apr 5, 2010 at 1:57 AM, Sarah Ogilvie sv...@cam.ac.uk wrote:
 Hi SJ,

 Glad you like the idea. There are various dictionary-making tools, but I
 think that 'Wesay' would be the best option for your Fedora 11/Gnome and
 Sugar desktops:

 http://wesay.org/wiki/Main_Page

 Best,
 Sarah

 On Apr 5 2010, Samuel Klein wrote:

 Kevin and Sarah, lovely to meet you, an awesome idea.   What tool
 would you recommend?  We could add it to our Fedora 11/Gnome desktop,
 or better yet to our Sugar desktop as an activity
 http://wiki.laptop.org/go/Activity_bundles

 SJ

 quote who=Kevin Jones date=Fri, Apr 02, 2010 at 06:40:02PM -0700
 Thanks Henry. Mako, my friend Sarah Ogilvie has something that would
 add a lot of value to the OLPC, I think, extending its immediate
 useful value to new groups, and do a lot of good at the same time.
 ccing Sarah here.
 Here is what Sarah said about her project:
 My idea is to put simple dictionary-making software on the OLPC XO
 laptops, so that speakers of endangered languages can document their
 languages. We are living in an era in which an average of one

 language disappears every two weeks, and my project at the
 University of Cambridge (Endangered Languages and Dictionaries)
 looks at how we can write innovative dictionaries that are
 collaborative, community-focussed, and help facilitate language
 preservation and revitalization.
 http://www.lucy-cav.cam.ac.uk/pages/the-college/people/sarah-ogilvie/elad1.php

 There are various options for simple software which are perfectly
 suited to the XO laptops, and I would be happy to discuss the issue
 further. This could be another important extension of the OLPC
 project and its vision to use technology as a means of bringing
 freedom and empowerment to children. I would be delighted to help in
 any way.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Adobe Flash 10.1 + AIR 2.0 on the XO

2010-04-06 Thread Reuben K. Caron


On Mar 24, 2010, at 10:30 AM, Martin Langhoff wrote:

On Wed, Mar 24, 2010 at 8:53 AM, Reuben K. Caron reu...@laptop.org  
wrote:
Yes and no. Anyone technically capable to rebuild our build system,  
as you

mention below, will be able to easily script the installation of AIR.


Nope. I am fairly good with it, and I cannot script the installation
of AIR. If you have a technique, time to share it.


I was able to script it by doing:

yum install gtk2-devel libxml2-devel rpm-devel rpm-build nss nss-devel
wget http://airdownload.adobe.com/air/lin/download/1.5/AdobeAIRInstaller.bin
chmod 777 AdobeAIRInstaller.bin
./AdobeAIRInstaller.bin -silent -eulaAccepted___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Adobe Flash 10.1 + AIR 2.0 on the XO

2010-04-06 Thread Martin Langhoff
On Tue, Apr 6, 2010 at 3:27 PM, Reuben K. Caron reu...@laptop.org wrote:
 ./AdobeAIRInstaller.bin -silent -eulaAccepted

Excelent! Where the #$%^ did you find that that documented?

cheers,


m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Adobe Flash 10.1 + AIR 2.0 on the XO

2010-04-06 Thread Reuben K. Caron


On Apr 6, 2010, at 3:30 PM, Martin Langhoff wrote:

 On Tue, Apr 6, 2010 at 3:27 PM, Reuben K. Caron reu...@laptop.org  
 wrote:
 ./AdobeAIRInstaller.bin -silent -eulaAccepted

 Excelent! Where the #$%^ did you find that that documented?


http://help.adobe.com/en_US/AIR/1.5/air_runtime_redist/air_runtime_redist.pdf

And for completeness after Air is installed you can silently install  
the Air app with:

/usr/bin/Adobe\ AIR\ Application\ Installer -silent /path/to/*.air

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Richard Stallman en Berazategui

2010-04-06 Thread stallman
El día Miercoles *14 de Abril* a las *14:30* horas, en el  *Gimnasio
Municipal Roberto DeVicenzo*, a dos cuadras de la Estación de Berazategui,
se desarrollará el evento de Cultura Digital más importante en la historia
del distrito.

Se trata de la primer visita del ex hacker del MIT y defensor de la libertad
de las personas en la era digital, el *Dr. Richard Matthew Stallman*, quien
ofrecerá una conferencia para todo público, en español.

La conferencia titulada '*Por una sociedad digital libre*' no requiere
conocimientos técnicos previos y está destinada a todos los sectores de la
población. En el caso de los docentes y estudiantes, el evento es
considerado de interés cultural y educativo, por lo que deberán consultar a
Consejo Escolar para asistir con los alumnos. El Dr. Stallman habla español
en forma fluida.

Richard Stallman es un *programador y hacker estadounidense*, es una de las
cuatro personalidades más  importantes de la informática
contemporánea,creador del Movimiento del Software Libre, el primer
movimento social online
de  alcance mundial, el sistema operativo GNU que utilizado con distintos
núcleos conforma los sistemas  gnu/linux y gnu/freebsd entre otros, creó el
concepto de '*Copyleft*' y la licencia GPL, la GNUpedia (un antecesor de la
Wikipedia) y defiende la libertad para acceder y compartir el conocimiento y
la cultura como un derecho esencial en la así llamada *Sociedad del
Conocimiento*.

Organiza el evento la *Secretaría de Gobierno* de la *Municipalidad de
Berazategui*, con el apoyo de la consultora Industria Más Cultura, Jóvenes
del Centro Comercial CCIB y Proyecto UTUTO.

Para mas información sobre la gira completa de Stallman en Argentina y
Uruguay, acceder al sitio web
*BerazateguiLibre.org*http://BerazateguiLibre.orgdonde encontrará el
formulario de registro al evento, detalles sobre las
actividades, datos biográficos y fotografías de Richard Stallman, plano del
lugar para llegar, otros eventos de la gira y definiciones sobre Software
Libre en general.

http://BerazateguiLibre.org http://berazateguilibre.org/

Consultas a: i...@berazateguilibre.org

*Agradecemos difundir este mensaje.
*
BerazateguiLibre - Usuarios de Software Libre de Berazategui
___
http://listas.berazateguilibre.org/cgi-bin/mailman/listinfo/stallman
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: need OLPC contact

2010-04-06 Thread Sarah Ogilvie
Dear SJ,

For development, I suggest talking to John Hatton, SIL International Software 
Developer, who I am copying in to this message.

John Hatton john_hat...@sil.org

As for content of the Sugar activity, I would be delighted to help with that.

best
Sarah


On 6 Apr 2010, at 10:59, Samuel Klein wrote:

 Sarah, thank you.
 
 So you suggest including WeSay in our Gnome builds - that's an
 interesting idea, and something that Yama mentioned a year ago...
 certainly suitable for the OLPC devel list.  That's also the place to
 discuss Mono in general,  necessary if this were to become a
 widespread effort.
  http://wesay.org/wiki/Getting_Mono_on_OLPC
 
 Do you work with developers who could help make a Sugar activity out
 of wesay as well?  It would be nice to offer it as a download to the
 1 million students currently using an XO-1, who don't have a Gnome
 desktop option:
 
 SJ
 who just joined the wesay group.
 On Mon, Apr 5, 2010 at 1:57 AM, Sarah Ogilvie sv...@cam.ac.uk wrote:
 Hi SJ,
 
 Glad you like the idea. There are various dictionary-making tools, but I
 think that 'Wesay' would be the best option for your Fedora 11/Gnome and
 Sugar desktops:
 
 http://wesay.org/wiki/Main_Page
 
 Best,
 Sarah
 
 On Apr 5 2010, Samuel Klein wrote:
 
 Kevin and Sarah, lovely to meet you, an awesome idea.   What tool
 would you recommend?  We could add it to our Fedora 11/Gnome desktop,
 or better yet to our Sugar desktop as an activity
 http://wiki.laptop.org/go/Activity_bundles
 
 SJ
 
 quote who=Kevin Jones date=Fri, Apr 02, 2010 at 06:40:02PM -0700
 Thanks Henry. Mako, my friend Sarah Ogilvie has something that would
 add a lot of value to the OLPC, I think, extending its immediate
 useful value to new groups, and do a lot of good at the same time.
 ccing Sarah here.
 Here is what Sarah said about her project:
 My idea is to put simple dictionary-making software on the OLPC XO
 laptops, so that speakers of endangered languages can document their
 languages. We are living in an era in which an average of one
 
 language disappears every two weeks, and my project at the
 University of Cambridge (Endangered Languages and Dictionaries)
 looks at how we can write innovative dictionaries that are
 collaborative, community-focussed, and help facilitate language
 preservation and revitalization.
 http://www.lucy-cav.cam.ac.uk/pages/the-college/people/sarah-ogilvie/elad1.php
 
 There are various options for simple software which are perfectly
 suited to the XO laptops, and I would be happy to discuss the issue
 further. This could be another important extension of the OLPC
 project and its vision to use technology as a means of bringing
 freedom and empowerment to children. I would be delighted to help in
 any way.

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Adobe Flash 10.1 + AIR 2.0 on the XO

2010-04-06 Thread Martin Langhoff
On Tue, Apr 6, 2010 at 3:39 PM, Reuben K. Caron reu...@laptop.org wrote:
 On Tue, Apr 6, 2010 at 3:27 PM, Reuben K. Caron reu...@laptop.org wrote:

 ./AdobeAIRInstaller.bin -silent -eulaAccepted

 Excelent! Where the #$%^ did you find that that documented?


 http://help.adobe.com/en_US/AIR/1.5/air_runtime_redist/air_runtime_redist.pdf

It still carries then nastiness of requiring dev packages, which we'll
want to jettison after the process.

cheers,



m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Server-devel] Public folders

2010-04-06 Thread Andra DuPont
Tim,
I am also looking for a way to have a digital library of .pdf files etc.
that can be accessed by any XO on an XS server. I have tried the
approach you outlined, but when I use Browse to go to
http://schoolserver/public it is not found. The server responds:

The requested URL /public was not found on this server.

My server domain is asilong.org, so my actual URL is
http://schoolserver.asilong.org/public
(this is as it should be right?)

I have tried going to schoolserver/library/public but it is not found either.

In terminal, I can go to the directory /library/public and my documents
are in the directory.

I doubled checked the xs-library-public.conf file in
the /etc/httpd/conf.d directory for typos but couldn't find any.

Any guess as to why I can't get to the files from Browse?

Thanks,
Andy

On Apr 2, 2010, at 6:13 PM, Tim Moody wrote:

 I created a directory public under /library into which I copied a few pdfs.
 
 I created a file xs-library-public.conf in /etc/httpd/conf.d which contains
 
 Alias /public/ /library/public
 Directory /library/public
  Order allow,deny
  Allow from all
  Options Indexes FollowSymLinks
  AllowOverride None
 /Directory
 
 After service httpd restart I get an index of the pdfs from 
 http://schoolserver/public
 
 --
 
 Message: 1
 Date: Fri, 2 Apr 2010 06:41:51 +1000
 From: David Leeming da...@leeming-consulting.com
 Subject: [Server-devel] Public folders
 To: 'XS Devel' server-devel@lists.laptop.org
 Message-ID: 01cad1db$c2141720$463c45...@com
 Content-Type: text/plain; charset=us-ascii
 
 Using the XS installed with default settings.
 
 
 
 I have been making folders public in /var/www/html and am able to view sub
 folders to be listed. I.e. if there is no specific html file, the whole
 contents of the folder appear in the browser. Fine that is what I want.
 
 
 
 However, when copying content into that folder I rapidly run out of space.
 It seems that the main disk space is in an another partition where the
 folder /library is located. This makes sense (i.e. to have a lot of room 
 in
 the library...)
 
 
 
 Therefore, I copied my public content into sub folders under the directory
 /library and made the whole of /library public using the html.conf file 
 with
 Aliases pointing to my specific subfolders.
 
 
 
 However, under /library it won't allow contents of subfolders to be listed
 (unless there is an index file in which case it opens that by default, but 
 I
 want the folder contents listed in some cases.
 
 
 
 Help?
 
 
 
 David Leeming
 
 
 ___
 Server-devel mailing list
 Server-devel@lists.laptop.org
 http://lists.laptop.org/listinfo/server-devel

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Public folders

2010-04-06 Thread Andra DuPont
On Apr 6, 2010, at 4:50 PM, David Leeming wrote:

 Andra,
 
 Have you added a new conf file, to declare the folders public?

Yes, I followed Tim's note and named my conf file xs-library-public.conf
as I noted in my last email.

I don't think the name of the conf file matters, as any .conf file placed
in the /etc/httpd/conf.d directory gets appended to the main configuration.

 
 Use nano or other text editer to create a file html.conf in
 /etc/httpd/conf.d/ and add the below, with a new entry for each alias. It's
 case sensitive remember. 
 
 Then the below should be available at http://schoolserver/MyFolders

What do you mean by the below should be available? Do you mean
the files in the /library/public directory should be availalble (that is
what I was expecting, but as I mentioned, my browser can't find it.)

I am wondering if I have to do something to tell the server where the
starting level is, because it does not seem to be going to /library/public,
but to some other directory.

 
 Alias /MyFolders /library/public
 Directory /library/public
  Order allow,deny
  Allow from all
  Options Indexes FollowSymLinks
  AllowOverride None
 /Directory
 
 David Leeming
 
 
 -Original Message-
 From: server-devel-boun...@lists.laptop.org
 [mailto:server-devel-boun...@lists.laptop.org] On Behalf Of Andra DuPont
 Sent: Wednesday, 7 April 2010 6:09 a.m.
 To: Tim Moody
 Cc: server-devel@lists.laptop.org
 Subject: Re: [Server-devel] Public folders
 
 Tim,
 I am also looking for a way to have a digital library of .pdf files etc.
 that can be accessed by any XO on an XS server. I have tried the
 approach you outlined, but when I use Browse to go to
 http://schoolserver/public it is not found. The server responds:
 
 The requested URL /public was not found on this server.
 
 My server domain is asilong.org, so my actual URL is
 http://schoolserver.asilong.org/public
 (this is as it should be right?)
 
 I have tried going to schoolserver/library/public but it is not found
 either.
 
 In terminal, I can go to the directory /library/public and my documents
 are in the directory.
 
 I doubled checked the xs-library-public.conf file in
 the /etc/httpd/conf.d directory for typos but couldn't find any.
 
 Any guess as to why I can't get to the files from Browse?
 
 Thanks,
 Andy
 
 On Apr 2, 2010, at 6:13 PM, Tim Moody wrote:
 
 I created a directory public under /library into which I copied a few
 pdfs.
 
 I created a file xs-library-public.conf in /etc/httpd/conf.d which
 contains
 
 Alias /public/ /library/public
 Directory /library/public
 Order allow,deny
 Allow from all
 Options Indexes FollowSymLinks
 AllowOverride None
 /Directory
 
 After service httpd restart I get an index of the pdfs from 
 http://schoolserver/public
 
 --
 
 Message: 1
 Date: Fri, 2 Apr 2010 06:41:51 +1000
 From: David Leeming da...@leeming-consulting.com
 Subject: [Server-devel] Public folders
 To: 'XS Devel' server-devel@lists.laptop.org
 Message-ID: 01cad1db$c2141720$463c45...@com
 Content-Type: text/plain; charset=us-ascii
 
 Using the XS installed with default settings.
 
 
 
 I have been making folders public in /var/www/html and am able to view
 sub
 folders to be listed. I.e. if there is no specific html file, the whole
 contents of the folder appear in the browser. Fine that is what I want.
 
 
 
 However, when copying content into that folder I rapidly run out of
 space.
 It seems that the main disk space is in an another partition where the
 folder /library is located. This makes sense (i.e. to have a lot of room 
 in
 the library...)
 
 
 
 Therefore, I copied my public content into sub folders under the
 directory
 /library and made the whole of /library public using the html.conf file 
 with
 Aliases pointing to my specific subfolders.
 
 
 
 However, under /library it won't allow contents of subfolders to be
 listed
 (unless there is an index file in which case it opens that by default,
 but 
 I
 want the folder contents listed in some cases.
 
 
 
 Help?
 
 
 
 David Leeming
 
 
 ___
 Server-devel mailing list
 Server-devel@lists.laptop.org
 http://lists.laptop.org/listinfo/server-devel
 
 ___
 Server-devel mailing list
 Server-devel@lists.laptop.org
 http://lists.laptop.org/listinfo/server-devel
 
 
 

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Public folders

2010-04-06 Thread Tim Moody
Did you restart the web server with service httpd restart?  What does 
service httpd configtest say?

Yes, http://schoolserver.asilong.org/public should be right, though the 
shorter form worked for me as well.

http://schoolserver/library/public should not work because of the Alias 
statement.

Are you on XS 0.6?

Have you looked for errors in the web server logs in /var/log/httpd?

Are the permissions on /library/public the same as 
/library/xs-activity-server and those on xs-library-public.conf the same as 
xs-activity-server.conf?

Can you paste the contents of xs-library-public.conf into an email.

- Original Message - 
From: Andra DuPont andradup...@gmail.com
To: Tim Moody timmo...@sympatico.ca
Cc: server-devel@lists.laptop.org
Sent: Tuesday, April 06, 2010 3:08 PM
Subject: Re: [Server-devel] Public folders


Tim,
I am also looking for a way to have a digital library of .pdf files etc.
that can be accessed by any XO on an XS server. I have tried the
approach you outlined, but when I use Browse to go to
http://schoolserver/public it is not found. The server responds:

The requested URL /public was not found on this server.

My server domain is asilong.org, so my actual URL is
http://schoolserver.asilong.org/public
(this is as it should be right?)

I have tried going to schoolserver/library/public but it is not found 
either.

In terminal, I can go to the directory /library/public and my documents
are in the directory.

I doubled checked the xs-library-public.conf file in
the /etc/httpd/conf.d directory for typos but couldn't find any.

Any guess as to why I can't get to the files from Browse?

Thanks,
Andy

On Apr 2, 2010, at 6:13 PM, Tim Moody wrote:

 I created a directory public under /library into which I copied a few 
 pdfs.

 I created a file xs-library-public.conf in /etc/httpd/conf.d which 
 contains

 Alias /public/ /library/public
 Directory /library/public
  Order allow,deny
  Allow from all
  Options Indexes FollowSymLinks
  AllowOverride None
 /Directory

 After service httpd restart I get an index of the pdfs from
 http://schoolserver/public

 --

 Message: 1
 Date: Fri, 2 Apr 2010 06:41:51 +1000
 From: David Leeming da...@leeming-consulting.com
 Subject: [Server-devel] Public folders
 To: 'XS Devel' server-devel@lists.laptop.org
 Message-ID: 01cad1db$c2141720$463c45...@com
 Content-Type: text/plain; charset=us-ascii

 Using the XS installed with default settings.



 I have been making folders public in /var/www/html and am able to view 
 sub
 folders to be listed. I.e. if there is no specific html file, the whole
 contents of the folder appear in the browser. Fine that is what I want.



 However, when copying content into that folder I rapidly run out of 
 space.
 It seems that the main disk space is in an another partition where the
 folder /library is located. This makes sense (i.e. to have a lot of room
 in
 the library...)



 Therefore, I copied my public content into sub folders under the 
 directory
 /library and made the whole of /library public using the html.conf file
 with
 Aliases pointing to my specific subfolders.



 However, under /library it won't allow contents of subfolders to be 
 listed
 (unless there is an index file in which case it opens that by default, 
 but
 I
 want the folder contents listed in some cases.



 Help?



 David Leeming


 ___
 Server-devel mailing list
 Server-devel@lists.laptop.org
 http://lists.laptop.org/listinfo/server-devel


___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Public folders

2010-04-06 Thread David Leeming
Hi Andra, well it works OK for me. I am using an XS with pretty much default
config. In /etc/httpd/conf.d/ I have a file html.conf as follows. I can
browse pdf library or html pages as are found in the seven folders named
below, for instance by entering in the browser http://schoolserver/Public
will take me to /var/www/html/public and display anything inside or open a
default index file if found. I have created global links on the Moodle front
page to each. I am expecting to be able to move everything to /library and
make the contents list-able by using the extra lines mentioned previously.
Try comparing my approach to yours, maybe you missed something. It's very
easy to get the case wrong, for instance. 

Alias /Public /var/www/html/public
Alias /SPC /var/www/html/spc
Alias /eBooks /var/www/html/ebooks
Alias /OLPC-resources /var/www/html/olpc-resources
Alias /Schools-Wikipedia /library/Schools-Wikipedia
Alias /UNESCO-2008-SchoolNet /library/unesco-2008
Alias /UNESCO-2005-SchoolNet /library/unesco-2005

# Public web pages - must be publically accessible
Directory /var/www/html
  Order allow,deny
  Allow from all
/Directory

Directory /library
 Order allow,deny
 Allow from all
/Directory




David Leeming
Leeming Consulting, P.O. Box 652, Honiara, Solomon Islands
Tel: +677 747-6396 (m) 24419 (h) 
www.leeming-consulting.com


-Original Message-
From: Andra DuPont [mailto:andradup...@gmail.com] 
Sent: Wednesday, 7 April 2010 8:09 a.m.
To: David Leeming
Cc: XS Devel
Subject: Re: [Server-devel] Public folders

On Apr 6, 2010, at 4:50 PM, David Leeming wrote:

 Andra,
 
 Have you added a new conf file, to declare the folders public?

Yes, I followed Tim's note and named my conf file xs-library-public.conf
as I noted in my last email.

I don't think the name of the conf file matters, as any .conf file placed
in the /etc/httpd/conf.d directory gets appended to the main configuration.

 
 Use nano or other text editer to create a file html.conf in
 /etc/httpd/conf.d/ and add the below, with a new entry for each alias.
It's
 case sensitive remember. 
 
 Then the below should be available at http://schoolserver/MyFolders

What do you mean by the below should be available? Do you mean
the files in the /library/public directory should be availalble (that is
what I was expecting, but as I mentioned, my browser can't find it.)

I am wondering if I have to do something to tell the server where the
starting level is, because it does not seem to be going to /library/public,
but to some other directory.

 
 Alias /MyFolders /library/public
 Directory /library/public
  Order allow,deny
  Allow from all
  Options Indexes FollowSymLinks
  AllowOverride None
 /Directory
 
 David Leeming
 
 
 -Original Message-
 From: server-devel-boun...@lists.laptop.org
 [mailto:server-devel-boun...@lists.laptop.org] On Behalf Of Andra DuPont
 Sent: Wednesday, 7 April 2010 6:09 a.m.
 To: Tim Moody
 Cc: server-devel@lists.laptop.org
 Subject: Re: [Server-devel] Public folders
 
 Tim,
 I am also looking for a way to have a digital library of .pdf files etc.
 that can be accessed by any XO on an XS server. I have tried the
 approach you outlined, but when I use Browse to go to
 http://schoolserver/public it is not found. The server responds:
 
 The requested URL /public was not found on this server.
 
 My server domain is asilong.org, so my actual URL is
 http://schoolserver.asilong.org/public
 (this is as it should be right?)
 
 I have tried going to schoolserver/library/public but it is not found
 either.
 
 In terminal, I can go to the directory /library/public and my documents
 are in the directory.
 
 I doubled checked the xs-library-public.conf file in
 the /etc/httpd/conf.d directory for typos but couldn't find any.
 
 Any guess as to why I can't get to the files from Browse?
 
 Thanks,
 Andy
 
 On Apr 2, 2010, at 6:13 PM, Tim Moody wrote:
 
 I created a directory public under /library into which I copied a few
 pdfs.
 
 I created a file xs-library-public.conf in /etc/httpd/conf.d which
 contains
 
 Alias /public/ /library/public
 Directory /library/public
 Order allow,deny
 Allow from all
 Options Indexes FollowSymLinks
 AllowOverride None
 /Directory
 
 After service httpd restart I get an index of the pdfs from 
 http://schoolserver/public
 
 --
 
 Message: 1
 Date: Fri, 2 Apr 2010 06:41:51 +1000
 From: David Leeming da...@leeming-consulting.com
 Subject: [Server-devel] Public folders
 To: 'XS Devel' server-devel@lists.laptop.org
 Message-ID: 01cad1db$c2141720$463c45...@com
 Content-Type: text/plain; charset=us-ascii
 
 Using the XS installed with default settings.
 
 
 
 I have been making folders public in /var/www/html and am able to view
 sub
 folders to be listed. I.e. if there is no specific html file, the whole
 contents of the folder appear in the browser. Fine that is what I want.
 
 
 
 However, when copying content into that folder I 

Re: [Server-devel] Public folders

2010-04-06 Thread Andra DuPont
David,
Thanks for the response. What you have working is great. I'm sure you're
right... I probably just have a typo somewhere. I am still checking. I should
also mention that I am running web caching from a program called wwwoffle.
It caches all external activity and serves it up well even when there is no
internet service, which squid does not handle well. wwwoffle does not seem
to bother moodle, so I wouldn't think it is the problem. My http-port is set to
3128 just like squid uses.

I'll keep plugging away and find out what is wrong soon. The info from Tim is 
very helpful.

On Apr 6, 2010, at 5:46 PM, David Leeming wrote:

 Hi Andra, well it works OK for me. I am using an XS with pretty much default
 config. In /etc/httpd/conf.d/ I have a file html.conf as follows. I can
 browse pdf library or html pages as are found in the seven folders named
 below, for instance by entering in the browser http://schoolserver/Public
 will take me to /var/www/html/public and display anything inside or open a
 default index file if found. I have created global links on the Moodle front
 page to each. I am expecting to be able to move everything to /library and
 make the contents list-able by using the extra lines mentioned previously.
 Try comparing my approach to yours, maybe you missed something. It's very
 easy to get the case wrong, for instance. 
 
 Alias /Public /var/www/html/public
 Alias /SPC /var/www/html/spc
 Alias /eBooks /var/www/html/ebooks
 Alias /OLPC-resources /var/www/html/olpc-resources
 Alias /Schools-Wikipedia /library/Schools-Wikipedia
 Alias /UNESCO-2008-SchoolNet /library/unesco-2008
 Alias /UNESCO-2005-SchoolNet /library/unesco-2005
 
 # Public web pages - must be publically accessible
 Directory /var/www/html
  Order allow,deny
  Allow from all
 /Directory
 
 Directory /library
 Order allow,deny
 Allow from all
 /Directory
 
 
 
 
 David Leeming
 Leeming Consulting, P.O. Box 652, Honiara, Solomon Islands
 Tel: +677 747-6396 (m) 24419 (h) 
 www.leeming-consulting.com
 
 
 -Original Message-
 From: Andra DuPont [mailto:andradup...@gmail.com] 
 Sent: Wednesday, 7 April 2010 8:09 a.m.
 To: David Leeming
 Cc: XS Devel
 Subject: Re: [Server-devel] Public folders
 
 On Apr 6, 2010, at 4:50 PM, David Leeming wrote:
 
 Andra,
 
 Have you added a new conf file, to declare the folders public?
 
 Yes, I followed Tim's note and named my conf file xs-library-public.conf
 as I noted in my last email.
 
 I don't think the name of the conf file matters, as any .conf file placed
 in the /etc/httpd/conf.d directory gets appended to the main configuration.
 
 
 Use nano or other text editer to create a file html.conf in
 /etc/httpd/conf.d/ and add the below, with a new entry for each alias.
 It's
 case sensitive remember. 
 
 Then the below should be available at http://schoolserver/MyFolders
 
 What do you mean by the below should be available? Do you mean
 the files in the /library/public directory should be availalble (that is
 what I was expecting, but as I mentioned, my browser can't find it.)
 
 I am wondering if I have to do something to tell the server where the
 starting level is, because it does not seem to be going to /library/public,
 but to some other directory.
 
 
 Alias /MyFolders /library/public
 Directory /library/public
 Order allow,deny
 Allow from all
 Options Indexes FollowSymLinks
 AllowOverride None
 /Directory
 
 David Leeming
 
 
 -Original Message-
 From: server-devel-boun...@lists.laptop.org
 [mailto:server-devel-boun...@lists.laptop.org] On Behalf Of Andra DuPont
 Sent: Wednesday, 7 April 2010 6:09 a.m.
 To: Tim Moody
 Cc: server-devel@lists.laptop.org
 Subject: Re: [Server-devel] Public folders
 
 Tim,
 I am also looking for a way to have a digital library of .pdf files etc.
 that can be accessed by any XO on an XS server. I have tried the
 approach you outlined, but when I use Browse to go to
 http://schoolserver/public it is not found. The server responds:
 
 The requested URL /public was not found on this server.
 
 My server domain is asilong.org, so my actual URL is
 http://schoolserver.asilong.org/public
 (this is as it should be right?)
 
 I have tried going to schoolserver/library/public but it is not found
 either.
 
 In terminal, I can go to the directory /library/public and my documents
 are in the directory.
 
 I doubled checked the xs-library-public.conf file in
 the /etc/httpd/conf.d directory for typos but couldn't find any.
 
 Any guess as to why I can't get to the files from Browse?
 
 Thanks,
 Andy
 
 On Apr 2, 2010, at 6:13 PM, Tim Moody wrote:
 
 I created a directory public under /library into which I copied a few
 pdfs.
 
 I created a file xs-library-public.conf in /etc/httpd/conf.d which
 contains
 
 Alias /public/ /library/public
 Directory /library/public
 Order allow,deny
 Allow from all
 Options Indexes FollowSymLinks
 AllowOverride None
 /Directory
 
 After service httpd restart I get an index of the pdfs from 
 

Re: [Server-devel] Public folders

2010-04-06 Thread Andra DuPont

On Apr 6, 2010, at 5:30 PM, Tim Moody wrote:

 Did you restart the web server with service httpd restart?  What does service 
 httpd configtest say?
 
 Yes, http://schoolserver.asilong.org/public should be right, though the 
 shorter form worked for me as well.
 
 http://schoolserver/library/public should not work because of the Alias 
 statement.
 
 Are you on XS 0.6?
 
 Have you looked for errors in the web server logs in /var/log/httpd?
The error log has the answer. I put my public folder in /library but according 
to the error log, the
server is going to   /var/www/html/public  This is where David Leeming has his. 
I don't know where
the server gets told where the base or home location is for the 
schoolserver, but apparently
it is set to /var/www/html for http requests. I'm learning.

So Tim, why does your server go to /library ???

I changed the conf file to:

Alias /public/ /var/www/html/public
Directory /var/www/html/public

Works like a champ.

 
 Are the permissions on /library/public the same as 
 /library/xs-activity-server and those on xs-library-public.conf the same as 
 xs-activity-server.conf?
 
 Can you paste the contents of xs-library-public.conf into an email.
 
 - Original Message - From: Andra DuPont andradup...@gmail.com
 To: Tim Moody timmo...@sympatico.ca
 Cc: server-devel@lists.laptop.org
 Sent: Tuesday, April 06, 2010 3:08 PM
 Subject: Re: [Server-devel] Public folders
 
 
 Tim,
 I am also looking for a way to have a digital library of .pdf files etc.
 that can be accessed by any XO on an XS server. I have tried the
 approach you outlined, but when I use Browse to go to
 http://schoolserver/public it is not found. The server responds:
 
 The requested URL /public was not found on this server.
 
 My server domain is asilong.org, so my actual URL is
 http://schoolserver.asilong.org/public
 (this is as it should be right?)
 
 I have tried going to schoolserver/library/public but it is not found either.
 
 In terminal, I can go to the directory /library/public and my documents
 are in the directory.
 
 I doubled checked the xs-library-public.conf file in
 the /etc/httpd/conf.d directory for typos but couldn't find any.
 
 Any guess as to why I can't get to the files from Browse?
 
 Thanks,
 Andy
 
 On Apr 2, 2010, at 6:13 PM, Tim Moody wrote:
 
 I created a directory public under /library into which I copied a few pdfs.
 
 I created a file xs-library-public.conf in /etc/httpd/conf.d which contains
 
 Alias /public/ /library/public
 Directory /library/public
 Order allow,deny
 Allow from all
 Options Indexes FollowSymLinks
 AllowOverride None
 /Directory
 
 After service httpd restart I get an index of the pdfs from
 http://schoolserver/public
 
 --
 
 Message: 1
 Date: Fri, 2 Apr 2010 06:41:51 +1000
 From: David Leeming da...@leeming-consulting.com
 Subject: [Server-devel] Public folders
 To: 'XS Devel' server-devel@lists.laptop.org
 Message-ID: 01cad1db$c2141720$463c45...@com
 Content-Type: text/plain; charset=us-ascii
 
 Using the XS installed with default settings.
 
 
 
 I have been making folders public in /var/www/html and am able to view sub
 folders to be listed. I.e. if there is no specific html file, the whole
 contents of the folder appear in the browser. Fine that is what I want.
 
 
 
 However, when copying content into that folder I rapidly run out of space.
 It seems that the main disk space is in an another partition where the
 folder /library is located. This makes sense (i.e. to have a lot of room
 in
 the library...)
 
 
 
 Therefore, I copied my public content into sub folders under the directory
 /library and made the whole of /library public using the html.conf file
 with
 Aliases pointing to my specific subfolders.
 
 
 
 However, under /library it won't allow contents of subfolders to be listed
 (unless there is an index file in which case it opens that by default, but
 I
 want the folder contents listed in some cases.
 
 
 
 Help?
 
 
 
 David Leeming
 
 
 ___
 Server-devel mailing list
 Server-devel@lists.laptop.org
 http://lists.laptop.org/listinfo/server-devel
 
 

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Public folders

2010-04-06 Thread Andra DuPont

On Apr 6, 2010, at 7:10 PM, Tim Moody wrote:

 The standard apache config file, httpd.conf in /etc/httpd/conf, or in our 
 case the file httpd-xs.conf, sets the base location as
 DocumentRoot /var/www/html.  So you don't actually need an Alias or 
 directory directive to get to /var/www/html/public via 
 http://schoolserver/library/public.  Alias /public/ overrides that.
 
 Note that David also has his files in /library/Schools-Wikipedia, the reason 
 being that the stock xs install doesn't allocate much space to the root 
 partition where /var/www/html is found.  It puts library on a separate volume 
 with most of the disk there, so you will run out of space in /var/www/html 
 fairly quickly.
 
 It sounds to me like your Alias and Directory directives are not doing 
 anything.  Perhaps the file is not getting loaded.

Yes I came to the same conclusion my Alias directive is not working.

 If you look at the
 
 What happens if you access http://schoolserver.asilong.org/activities?

The screen says:

Locally available activities

These activities are stored on the school server.

Then the screen is blank below (no activities listed)


 
 - Original Message - From: Andra DuPont andradup...@gmail.com
 To: Tim Moody timmo...@sympatico.ca
 Cc: server-devel@lists.laptop.org
 Sent: Tuesday, April 06, 2010 6:22 PM
 Subject: Re: [Server-devel] Public folders
 
 
 
 On Apr 6, 2010, at 5:30 PM, Tim Moody wrote:
 
 Did you restart the web server with service httpd restart?  What does 
 service httpd configtest say?
 
 Yes, http://schoolserver.asilong.org/public should be right, though the 
 shorter form worked for me as well.
 
 http://schoolserver/library/public should not work because of the Alias 
 statement.
 
 Are you on XS 0.6?
 
 Have you looked for errors in the web server logs in /var/log/httpd?
 The error log has the answer. I put my public folder in /library but 
 according to the error log, the
 server is going to   /var/www/html/public  This is where David Leeming has 
 his. I don't know where
 the server gets told where the base or home location is for the 
 schoolserver, but apparently
 it is set to /var/www/html for http requests. I'm learning.
 
 So Tim, why does your server go to /library ???
 
 I changed the conf file to:
 
 Alias /public/ /var/www/html/public
 Directory /var/www/html/public
 
 Works like a champ.
 
 
 Are the permissions on /library/public the same as 
 /library/xs-activity-server and those on xs-library-public.conf the same as 
 xs-activity-server.conf?
 
 Can you paste the contents of xs-library-public.conf into an email.
 
 - Original Message - From: Andra DuPont andradup...@gmail.com
 To: Tim Moody timmo...@sympatico.ca
 Cc: server-devel@lists.laptop.org
 Sent: Tuesday, April 06, 2010 3:08 PM
 Subject: Re: [Server-devel] Public folders
 
 
 Tim,
 I am also looking for a way to have a digital library of .pdf files etc.
 that can be accessed by any XO on an XS server. I have tried the
 approach you outlined, but when I use Browse to go to
 http://schoolserver/public it is not found. The server responds:
 
 The requested URL /public was not found on this server.
 
 My server domain is asilong.org, so my actual URL is
 http://schoolserver.asilong.org/public
 (this is as it should be right?)
 
 I have tried going to schoolserver/library/public but it is not found either.
 
 In terminal, I can go to the directory /library/public and my documents
 are in the directory.
 
 I doubled checked the xs-library-public.conf file in
 the /etc/httpd/conf.d directory for typos but couldn't find any.
 
 Any guess as to why I can't get to the files from Browse?
 
 Thanks,
 Andy
 
 On Apr 2, 2010, at 6:13 PM, Tim Moody wrote:
 
 I created a directory public under /library into which I copied a few pdfs.
 
 I created a file xs-library-public.conf in /etc/httpd/conf.d which contains
 
 Alias /public/ /library/public
 Directory /library/public
 Order allow,deny
 Allow from all
 Options Indexes FollowSymLinks
 AllowOverride None
 /Directory
 
 After service httpd restart I get an index of the pdfs from
 http://schoolserver/public
 
 --
 
 Message: 1
 Date: Fri, 2 Apr 2010 06:41:51 +1000
 From: David Leeming da...@leeming-consulting.com
 Subject: [Server-devel] Public folders
 To: 'XS Devel' server-devel@lists.laptop.org
 Message-ID: 01cad1db$c2141720$463c45...@com
 Content-Type: text/plain; charset=us-ascii
 
 Using the XS installed with default settings.
 
 
 
 I have been making folders public in /var/www/html and am able to view sub
 folders to be listed. I.e. if there is no specific html file, the whole
 contents of the folder appear in the browser. Fine that is what I want.
 
 
 
 However, when copying content into that folder I rapidly run out of space.
 It seems that the main disk space is in an another partition where the
 folder /library is located. This makes sense (i.e. to have a lot of room
 

Re: [Server-devel] Public folders

2010-04-06 Thread Andra DuPont
Tim,
Both my httpd.conf and httpd-xs.conf files have the line

Include conf.d/*.conf

To me that means that all files ending with .conf in the conf.d directory 
should be included.

Any ideas what is going on? How can I see if the xs-library-public.conf file is 
being included or not?

On Apr 6, 2010, at 7:10 PM, Tim Moody wrote:

 The standard apache config file, httpd.conf in /etc/httpd/conf, or in our 
 case the file httpd-xs.conf, sets the base location as
 DocumentRoot /var/www/html.  So you don't actually need an Alias or 
 directory directive to get to /var/www/html/public via 
 http://schoolserver/library/public.  Alias /public/ overrides that.
 
 Note that David also has his files in /library/Schools-Wikipedia, the reason 
 being that the stock xs install doesn't allocate much space to the root 
 partition where /var/www/html is found.  It puts library on a separate volume 
 with most of the disk there, so you will run out of space in /var/www/html 
 fairly quickly.
 
 It sounds to me like your Alias and Directory directives are not doing 
 anything.  Perhaps the file is not getting loaded.  If you look at the
 
 What happens if you access http://schoolserver.asilong.org/activities?
 
 - Original Message - From: Andra DuPont andradup...@gmail.com
 To: Tim Moody timmo...@sympatico.ca
 Cc: server-devel@lists.laptop.org
 Sent: Tuesday, April 06, 2010 6:22 PM
 Subject: Re: [Server-devel] Public folders
 
 
 
 On Apr 6, 2010, at 5:30 PM, Tim Moody wrote:
 
 Did you restart the web server with service httpd restart?  What does 
 service httpd configtest say?
 
 Yes, http://schoolserver.asilong.org/public should be right, though the 
 shorter form worked for me as well.
 
 http://schoolserver/library/public should not work because of the Alias 
 statement.
 
 Are you on XS 0.6?
 
 Have you looked for errors in the web server logs in /var/log/httpd?
 The error log has the answer. I put my public folder in /library but 
 according to the error log, the
 server is going to   /var/www/html/public  This is where David Leeming has 
 his. I don't know where
 the server gets told where the base or home location is for the 
 schoolserver, but apparently
 it is set to /var/www/html for http requests. I'm learning.
 
 So Tim, why does your server go to /library ???
 
 I changed the conf file to:
 
 Alias /public/ /var/www/html/public
 Directory /var/www/html/public
 
 Works like a champ.
 
 
 Are the permissions on /library/public the same as 
 /library/xs-activity-server and those on xs-library-public.conf the same as 
 xs-activity-server.conf?
 
 Can you paste the contents of xs-library-public.conf into an email.
 
 - Original Message - From: Andra DuPont andradup...@gmail.com
 To: Tim Moody timmo...@sympatico.ca
 Cc: server-devel@lists.laptop.org
 Sent: Tuesday, April 06, 2010 3:08 PM
 Subject: Re: [Server-devel] Public folders
 
 
 Tim,
 I am also looking for a way to have a digital library of .pdf files etc.
 that can be accessed by any XO on an XS server. I have tried the
 approach you outlined, but when I use Browse to go to
 http://schoolserver/public it is not found. The server responds:
 
 The requested URL /public was not found on this server.
 
 My server domain is asilong.org, so my actual URL is
 http://schoolserver.asilong.org/public
 (this is as it should be right?)
 
 I have tried going to schoolserver/library/public but it is not found either.
 
 In terminal, I can go to the directory /library/public and my documents
 are in the directory.
 
 I doubled checked the xs-library-public.conf file in
 the /etc/httpd/conf.d directory for typos but couldn't find any.
 
 Any guess as to why I can't get to the files from Browse?
 
 Thanks,
 Andy
 
 On Apr 2, 2010, at 6:13 PM, Tim Moody wrote:
 
 I created a directory public under /library into which I copied a few pdfs.
 
 I created a file xs-library-public.conf in /etc/httpd/conf.d which contains
 
 Alias /public/ /library/public
 Directory /library/public
 Order allow,deny
 Allow from all
 Options Indexes FollowSymLinks
 AllowOverride None
 /Directory
 
 After service httpd restart I get an index of the pdfs from
 http://schoolserver/public
 
 --
 
 Message: 1
 Date: Fri, 2 Apr 2010 06:41:51 +1000
 From: David Leeming da...@leeming-consulting.com
 Subject: [Server-devel] Public folders
 To: 'XS Devel' server-devel@lists.laptop.org
 Message-ID: 01cad1db$c2141720$463c45...@com
 Content-Type: text/plain; charset=us-ascii
 
 Using the XS installed with default settings.
 
 
 
 I have been making folders public in /var/www/html and am able to view sub
 folders to be listed. I.e. if there is no specific html file, the whole
 contents of the folder appear in the browser. Fine that is what I want.
 
 
 
 However, when copying content into that folder I rapidly run out of space.
 It seems that the main disk space is in an another partition where the
 folder 

Re: [Server-devel] Public folders

2010-04-06 Thread Andra DuPont
Tim,
Earlier I noted that the /var/log/httpd/error_log had the error:

file does not exist: /var/www/html/publicSugar Manual.pdf

Notice that there is no / between public and Sugar Is that normal???

This could just be a bug in the way errors are logged, but I doubt it.
It seems that the code is generating a request with a syntax issue.
What do you think?

I am going to go look at the index file.


On Apr 6, 2010, at 7:22 PM, Andra DuPont wrote:

 file does not exist: /var/www/html/publicSugar Manual.pdf
 
 Notice that there is no space or / between public and Sugar Is that 
 normal???
 This could just be an error in the way errors are logged. Regardless, I cannot
 access the files listed in the index.

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Public folders

2010-04-06 Thread Jerry Vonau
On Tue, 2010-04-06 at 21:52 -0400, Andra DuPont wrote:
 Tim,
 Earlier I noted that the /var/log/httpd/error_log had the error:
 
 file does not exist: /var/www/html/publicSugar Manual.pdf
 
 Notice that there is no / between public and Sugar Is that normal???
 

No, just wondering if your new proxy is able to be run as a transparent
proxy(don't have to configure the browsers for the proxy), squid is
setup as such. Did you, at some point run 
/etc/sysconfig/olpc-scripts/TURN_SQUID_ON? That would of added an
iptables redirect for all web requests. As a quick test could you do:

/etc/xs-config/altfiles/etc/sysconfig/olpc-scripts/TURN_SQUID_OFF
service iptables restart

and retry

Jerry
  

 This could just be a bug in the way errors are logged, but I doubt it.
 It seems that the code is generating a request with a syntax issue.
 What do you think?
 
 I am going to go look at the index file.
 
 
 On Apr 6, 2010, at 7:22 PM, Andra DuPont wrote:
 
  file does not exist: /var/www/html/publicSugar Manual.pdf
  
  Notice that there is no space or / between public and Sugar Is that 
  normal???
  This could just be an error in the way errors are logged. Regardless, I 
  cannot
  access the files listed in the index.
 
 ___
 Server-devel mailing list
 Server-devel@lists.laptop.org
 http://lists.laptop.org/listinfo/server-devel


___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Public folders

2010-04-06 Thread Andra DuPont
Problem solved see correction below.

On Apr 2, 2010, at 6:13 PM, Tim Moody wrote:

 I created a directory public under /library into which I copied a few pdfs.
 
 I created a file xs-library-public.conf in /etc/httpd/conf.d which contains
 
 Alias /public/ /library/public

The above line caused my requests to be missing a / after the directory name 
and the file.
I recommend changing the line to

Alias /public /library/public   or
Alias /public/ /library/public/

both seem to work the same, but I believe the first is preferred. That is the 
syntax
used in the xs-activity-server.conf file.


 Directory /library/public
  Order allow,deny
  Allow from all
  Options Indexes FollowSymLinks
  AllowOverride None
 /Directory
 
 After service httpd restart I get an index of the pdfs from 
 http://schoolserver/public
 
 --
 
 Message: 1
 Date: Fri, 2 Apr 2010 06:41:51 +1000
 From: David Leeming da...@leeming-consulting.com
 Subject: [Server-devel] Public folders
 To: 'XS Devel' server-devel@lists.laptop.org
 Message-ID: 01cad1db$c2141720$463c45...@com
 Content-Type: text/plain; charset=us-ascii
 
 Using the XS installed with default settings.
 
 
 
 I have been making folders public in /var/www/html and am able to view sub
 folders to be listed. I.e. if there is no specific html file, the whole
 contents of the folder appear in the browser. Fine that is what I want.
 
 
 
 However, when copying content into that folder I rapidly run out of space.
 It seems that the main disk space is in an another partition where the
 folder /library is located. This makes sense (i.e. to have a lot of room 
 in
 the library...)
 
 
 
 Therefore, I copied my public content into sub folders under the directory
 /library and made the whole of /library public using the html.conf file 
 with
 Aliases pointing to my specific subfolders.
 
 
 
 However, under /library it won't allow contents of subfolders to be listed
 (unless there is an index file in which case it opens that by default, but 
 I
 want the folder contents listed in some cases.
 
 
 
 Help?
 
 
 
 David Leeming
 
 
 ___
 Server-devel mailing list
 Server-devel@lists.laptop.org
 http://lists.laptop.org/listinfo/server-devel

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel