[Server-devel] Public folders

Tim Moody timmoody at sympatico.ca
Wed Apr 7 18:46:52 EDT 2010


Glad you figured it out; I'm sure you're right.  Not sure where I got the extra / or why it worked on my server.
  ----- Original Message ----- 
  From: Andra DuPont 
  To: Tim Moody 
  Cc: XS Devel 
  Sent: Wednesday, April 07, 2010 11:05 AM
  Subject: Re: [Server-devel] Public folders


  Tim,
  Here is an explanation of what happened.


  With your original syntax, Alias will replace "/public/" with "/library/public" browsing to
  "http://schoolserver/public' would not have invoked the Alias. I would have to type
  "http://schoolserver/public/"  Which would invoke the alias and take me to "/library/public"


  Because I was not invoking the Alias, I was still going to    /var/www/html/public   which did
  not exist. Once I created it, I could go there and see the index of the items I placed in it, but
  I couldn't access them because clicking on a file link would invoke the Alias which replaced
  "/public/" with "/public" so I was getting    ".../publicfile.pdf"   which of course is wrong.


  The proper format is:


  Alias /public /library/public
  <Directory /library/public >
  Order allow,deny

  Allow from all

  Options Indexes FollowSymLinks

  AllowOverride None
  </Directory>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.laptop.org/pipermail/server-devel/attachments/20100407/9b35674c/attachment.htm 


More information about the Server-devel mailing list