Re: [Server-devel] Public folders

2010-04-06 Thread Andra DuPont
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 lin

Re: [Server-devel] Public folders

2010-04-06 Thread Jerry Vonau
On Tue, 2010-04-06 at 21:52 -0400, Andra DuPont wrote: > Tim, > Earlier I noted that the /var/log/httpd/error_log had the error: > > file does not exist: /var/www/html/publicSugar Manual.pdf > > Notice that there is no "/" between public and Sugar Is that normal??? > No, just wondering if y

Re: [Server-devel] Public folders

2010-04-06 Thread Andra DuPont
Tim, Earlier I noted that the /var/log/httpd/error_log had the error: file does not exist: /var/www/html/publicSugar Manual.pdf Notice that there is no "/" between public and Sugar Is that normal??? This could just be a bug in the way errors are logged, but I doubt it. It seems that the code

Re: [Server-devel] Public folders

2010-04-06 Thread Andra DuPont
Tim, Both my httpd.conf and httpd-xs.conf files have the line Include conf.d/*.conf To me that means that all files ending with .conf in the conf.d directory should be included. Any ideas what is going on? How can I see if the xs-library-public.conf file is being included or not? On A

Re: [Server-devel] Public folders

2010-04-06 Thread Andra DuPont
On Apr 6, 2010, at 7:10 PM, Tim Moody wrote: > The standard apache config file, httpd.conf in /etc/httpd/conf, or in our > case the file httpd-xs.conf, sets the "base" location as > DocumentRoot "/var/www/html". So you don't actually need an Alias or > directory directive to get to "/var/www/h

Re: [Server-devel] Public folders

2010-04-06 Thread Andra DuPont
David, Actually I am still having problems. I am trying to understand why when I originally put: Alias /public/ "/library/public" That the server was going to /var/www/html/public It seems like my Alias statement was not being recognized. The reason I had some success is that I moved my /public

Re: [Server-devel] Public folders

2010-04-06 Thread Tim Moody
The standard apache config file, httpd.conf in /etc/httpd/conf, or in our case the file httpd-xs.conf, sets the "base" location as DocumentRoot "/var/www/html". So you don't actually need an Alias or directory directive to get to "/var/www/html/public" via http://schoolserver/library/public. A

Re: [Server-devel] Public folders

2010-04-06 Thread Andra DuPont
On Apr 6, 2010, at 5:30 PM, Tim Moody wrote: > Did you restart the web server with service httpd restart? What does service > httpd configtest say? > > Yes, http://schoolserver.asilong.org/public should be right, though the > shorter form worked for me as well. > > http://schoolserver/librar

Re: [Server-devel] Public folders

2010-04-06 Thread Andra DuPont
David, Thanks for the response. What you have working is great. I'm sure you're right... I probably just have a typo somewhere. I am still checking. I should also mention that I am running web caching from a program called wwwoffle. It caches all external activity and serves it up well even when th

Re: [Server-devel] Public folders

2010-04-06 Thread David Leeming
Hi Andra, well it works OK for me. I am using an XS with pretty much default config. In /etc/httpd/conf.d/ I have a file html.conf as follows. I can browse pdf library or html pages as are found in the seven folders named below, for instance by entering in the browser http://schoolserver/Public wil

Re: [Server-devel] Public folders

2010-04-06 Thread Tim Moody
Did you restart the web server with service httpd restart? What does service httpd configtest say? Yes, http://schoolserver.asilong.org/public should be right, though the shorter form worked for me as well. http://schoolserver/library/public should not work because of the Alias statement. Ar

Re: [Server-devel] Public folders

2010-04-06 Thread Andra DuPont
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 p

Re: [Server-devel] Public folders

2010-04-06 Thread Andra DuPont
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 fo