I'm a Ubuntu Linux user (Lucid Lynx) who is running Apache. I have a collection of zip files in a folder in my home directory (~/zip_files) which I would like to be able to link to through apache, such that when somebody who visits my website which I'm using Apache to host clicks a link to one of the zip files, he can download it through the web. How can I provide Apache with access to the files and set the permissions? Thanks, I'm new to linux!
There are two approaches that you can take:
For both approaches, make sure that the folder permissions are at least 755 (use chmod 755 /home/username) to ensure the permissions are correct.
You could combine this with the symlink idea
I think you need to tell Apache to follow symlinks.
You also need to set permissions on the directories and files so they are readable by the user under which Apache runs.