LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 07-24-2002, 10:02 PM   #1
prac2
LQ Newbie
 
Registered: Oct 2001
Location: New Zealand
Distribution: Mandrake 8.2
Posts: 11

Rep: Reputation: 0
Unhappy soft links in apache-newbie


Hello,
I am trying to create links from a folder in my home directory to the html folder in www so I can leave my mp3's in the home partition and access them via the intranet. The source folder is in:

/home/tony/web/musicplayer

and the webpages are in:

/var/www/html

so, in the html folder I put:

ln -s /home/tony/web/musicplayer musicplayer

This creates the link, but when I try to access the website, I get the '403 forbidden' message. I have changed the access rights of the web and musicplayer folders to 755 (even 777!), but I still get the same message. Please help.

Last edited by prac2; 07-24-2002 at 10:05 PM.
 
Old 07-25-2002, 02:41 AM   #2
rverlander
Member
 
Registered: May 2002
Distribution: A few
Posts: 488

Rep: Reputation: 30
You can't do that with symlinks but adding this to httpd.conf will do it:

Code:
Alias /musicplayer/ "/home/tony/web/musicplayer"
Then restart apache
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
links (hard links and soft links..) sachitha Programming 1 08-10-2005 01:10 PM
Soft Links varunbihani Linux - Newbie 3 06-05-2005 12:42 AM
How to make apache follow soft links Snerkel Linux - Software 1 12-10-2004 11:38 AM
Soft Links tonphi Red Hat 1 09-22-2003 10:20 PM
Soft Links Resqtech Linux - Newbie 4 08-26-2001 11:00 AM


All times are GMT -5. The time now is 06:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration