LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-18-2012, 05:12 AM   #1
packets
Member
 
Registered: Oct 2005
Posts: 339

Rep: Reputation: 32
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.

Last edited by packets; 12-18-2012 at 06:44 PM.
 
Old 12-18-2012, 02:39 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
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.
 
Old 12-18-2012, 06:45 PM   #3
packets
Member
 
Registered: Oct 2005
Posts: 339

Original Poster
Rep: Reputation: 32
I have now modified it. /shares/big01 is the correct directory
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Apache 2 error - symbolic link not allowed zedmelon Linux - Server 13 02-25-2019 08:06 AM
[SOLVED] Images not served by apache over a symbolic link folder fakeer Linux - Server 1 01-25-2009 01:16 AM
How to create symbolic link to html file and avoid page link problem? haxpor Linux - General 2 01-29-2008 07:40 AM
apache: using symbolic link to cgi-bin executable: how-to minutes2memories Linux - Software 4 03-02-2006 02:05 AM
Symbolic link in /etc/alternatives not working as intended davidas Debian 2 04-10-2004 07:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration