Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I 've made a Centos4 web server and configured a site under apache.
Now I've a windows 2000 server in my lan in which I have a directory containing images that must be visualized under my site. So I've mounted with samba my win2000 dir in /mnt/winimages and I can navigate it and see everythings.
After that I come under apache and in /var/www/html/mysite I've created a symbolic link named myimages that point to /mnt/winimages: all goes ok and ls -l myimages give me the list of my images...
I've also insert this line in my /etc/httpd/conf/httpd.conf
Options Indexes Includes FollowSymLinks
Allow from all
and restart apache. When I put a direct url on my browser pointing to a pippo.jpg I receive this error on browser:
You don't have permission to access /mysite/myimages/pippo.jpg on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request
I also get this making tail -f /etc/httpd/logs/error_log
Symbolic link not allowed: /var/www/html/mysite/myimages
I also do this:
and change to