Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello all,
Heres the scenario: I have my software, linux isos, games and all that other stuff for installation in /home/kaloian/dsk. I want to share it on my website (Apache), so I made a symlink "ln -s /home/kaloian/dsk/ /var/www/htdocs/local"; I browse my website and the "dsk" folder apperas, but when I click on it it says 403 forbidden, obviously because it tries to fetch the files from /home/kaloian/dsk, which is outside the apache root folder.
I tried to change the permissions of the symlink to root but it didn't work as well.
Please give me ideas how I will be able to do that as I don't want to simply move the data to the website folder, but to keep it where it is, and just link it.
Thanks in advance!
Kaloyan
AH.....
yes
drwxrw-r-x 6 kaloian users 4096 2004-08-16 12:27 dsk/
this is exactly what the new value is but when I click on the symlink folder "dsk" it still says 403 Forbidden. I even chmod'ed -R recursively. This didnt work neither.
Any other ideas?
here is some info that might help:
Quote:
root@Cuba:/var/www/htdocs/local# ls -l
total 0
lrwxrwxrwx 1 root root 18 2005-01-06 00:30 dsk -> /home/kaloian/dsk//
All I can think of is there is a security setting in Apache thats preventing this from working.
Try adding the FollowSymLinks to the options for apache, I haven't done any Aapche work for a while so I'm a little rusty on the options, check out Apache Core Features.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.