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: <000001cad1db$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