[Server-devel] Public folders
andradupont at gmail.com
Tue Apr 6 15:08:33 EDT 2010
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
(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?
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
> After service httpd restart I get an index of the pdfs from
>> Message: 1
>> Date: Fri, 2 Apr 2010 06:41:51 +1000
>> From: "David Leeming" <david at leeming-consulting.com>
>> Subject: [Server-devel] Public folders
>> To: "'XS Devel'" <server-devel at lists.laptop.org>
>> Message-ID: <000001cad1db$c2141720$463c4560$@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
>> 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
>> 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
>> want the folder contents listed in some cases.
>> David Leeming
> Server-devel mailing list
> Server-devel at lists.laptop.org
More information about the Server-devel