[Server-devel] Public folders
Andra DuPont
andradupont at gmail.com
Tue Apr 6 22:50:37 EDT 2010
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" <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
>>
>
> _______________________________________________
> Server-devel mailing list
> Server-devel at lists.laptop.org
> http://lists.laptop.org/listinfo/server-devel
More information about the Server-devel
mailing list