LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   3 symbolic link in apache but 1 is not working (https://www.linuxquestions.org/questions/linux-software-2/3-symbolic-link-in-apache-but-1-is-not-working-4175441939/)

packets 12-18-2012 05:12 AM

3 symbolic link in apache but 1 is not working
 
I have enabled UserDir and create 3 symbolic link. All 3 symbolic link is pointed to a wmv file. However, 1 is not working. Filename is Session1_Oct02.wmv. Everytime I access it, I encountered 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request

All files has the same permission. I just don't understand why I'm having an issue on this single file. I don't think it was on the apache configuration because the other 2 symbolic link is working.

Code:

[nserafic@foo FDM]$ ls -l
total 12
lrwxrwxrwx  1 mandato mandato 68 Dec  5 07:53 Session1_Oct02.wmv -> /shares/big01/Session1_Oct02.wmv
lrwxrwxrwx  1 mandato mandato 68 Nov 19 13:36 Session2_Oct02.wmv -> /shares/big01/Session2_Oct02.wmv
lrwxrwxrwx  1 mandato mandato 68 Nov 19 13:38 Session3_Oct03.wmv -> /shares/big01/Session3_Oct03.wmv
[nserafic@foo FDM]$ ls -l  /shares/big01/
total 6131752
-rwxrw-r--  1 mandato melindo 2522737667 Oct 11 18:45 Session1_Oct02.wmv
-rwxrw-r--  1 mandato melindo 1793060867 Oct 12 11:25 Session2_Oct02.wmv
-rwxrw-r--  1 mandato melindo 1963074887 Oct 13 08:51 Session3_Oct03.wmv

When I checked the apache logs, I saw " Symbolic link not allowed". However, the other 2 symbolic link is working.

smallpond 12-18-2012 02:39 PM

The directory which you listed is /shares/big01/Training/ but the symbolic links point to /shares/big01/. Also, if you are running selinux check the file context.

packets 12-18-2012 06:45 PM

I have now modified it. /shares/big01 is the correct directory


All times are GMT -5. The time now is 06:53 AM.