[Server-devel] Public folders
david at leeming-consulting.com
Sat Apr 3 03:17:08 EDT 2010
Thanks Tim that is what we wanted to know.
From: server-devel-bounces at lists.laptop.org
[mailto:server-devel-bounces at lists.laptop.org] On Behalf Of Tim Moody
Sent: Saturday, 3 April 2010 8:13 a.m.
To: server-devel at lists.laptop.org
Subject: Re: [Server-devel] Public folders
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"
Allow from all
Options Indexes FollowSymLinks
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