These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for how to set up symbolic link to video on the new forum.
hello -
I am trying to use a symbolic link to reference a video:
ln -s /home/mydomain.online/public_html/blah/blah/marks-video.mp4 ;
but i keep getting an error:
Failed to load resource: the server responded with a status of 403 (Forbidden)
From my research, its sounds as if i am to include this into my httpd.conf:
Options Indexes FollowSymLinks
is this something that virtualmin does for us?
have you checked the file permissions?
yes, i have tried 644, 655, 755, etc - same results.
all my research points to an issue resolved by
FollowSymLinks
Did you check the permissions as owner/group?
- I often come to the conclusion that my brain has too many tabs open. -
Failing at desktop publishing & graphic design since 1994.
Check the error_log for the domain in question. There may be more clues.
Also, we recommend you use SymlinkIfOwnerMatch rather than FollowSymlinks (there are some significant security implications to Follow Symlinks, particularly if you have a shared system).
--
Check out the forum guidelines!
UPDATE - i changed my chown command to:
chown -h mydomain.com:mydomain.com /home/mydomain.com/public_html/blah/blah/blah/marks-video.mp4 ; ## notice -h flag in chown command
and that worked. apparently the symbolic link ownership matters. no changes at all to either (dot)htaccess or httpd.conf files.
one would think i would have known this for all the decades i have been using linux. every day i am amazed to learn just how much i really dont know about practically everything.
THANK YOU EVERYBODY.