I just got Slackware 9.1 installed. I'm using the machine as a webserver (using Apache Webserver 1.3.28), outside my firewall.
I have a webcam set up on my WinXP box, with a program that FTPs the image to the webserver.
At first, the webcam program couldn't get access to the proper directory. A friend suggested the following:
1. Create a new user - "webcam"
2. Create a directory under your web root called "webcam".
3. Change to your web root and use the "chown" command to set permissions on the webcam directory (format: chown [user]:[group] [file]):
chown webcam:webcam webcam
4. Change permissions on that directory with "chmod" to allow writing/reading (format: chmod [read][write][execute] [file]):
chmod 744 webcam
5. Put a virtual link in the "webcam" user's home directory to the "webcam" folder under the web root:
ln -s /var/www/html/webcam /home/webcam/public_html
6. Try to ftp to the server using the "webcam" user acount, chdir to public_html, and drop your file.
I did all this, and the webcam program can now FTP the image successfully.
However, now my web browser can't see the image, nor can it navigate to the /webcam directory. I'm sure there is some permissions issue here, but I don't know what to do to fix it.
Any help would be appreciated!