Hi, all. There’s some web server trivia I don’t know… Hopefully someone can set me straight.
I have a user that I’ve set up for FTP so that I can FTP image files from home up to my server. (I didn’t want to use the same user that hosts my website, since FTP sends passwords in plain text.) I’ve got the cameras uploading images correctly to the FTP user’s home folder.
I thought I would be able to create a symbolic link from the web server user’s folder to the FTP user’s folder so that the images could be visible via HTTP for my website. Interestingly, when I try to access those images via my web browser I get:
“Forbidden You don’t have permission to access /camera1.jpg on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.”
Interestingly, if I put a file called foo.html in the FTP user’s folder and create a symbolic link from the web user’s web directory, that works fine. Is my web server not allowing jpeg files to be linked, or am I insane? (Or both?)
Is there an easy way for me to expose those jpeg files via the web user’s web folder without running a script via a cron job to copy them over every few seconds? I’d love to hear ideas.