[Server-devel] Public folders

Tim Moody timmoody at sympatico.ca
Fri Apr 2 18:13:21 EDT 2010


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" <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 
> 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
>



More information about the Server-devel mailing list