GIDForums  

Go Back   GIDForums > Web Hosting Forums > Apache Web Server Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 21-Aug-2006, 08:36
Anadi_Taylor Anadi_Taylor is offline
New Member
 
Join Date: Aug 2006
Posts: 2
Anadi_Taylor is on a distinguished road

Symbolic Links and Apache


Hi All,
I really hope some one can help me.
I have been trying to create SymLinks on my Linux ES box. The SymLinks that I create work because I can CD to them and I see the files I am meant to see.
However, what I want to do is use SymLinks that point outside of my /var/www/html directory to /home/somefolder.

Now, if I create SymLinks that that are within the /var/www/html directory (IE: if I have a SymLink that point to /var/www/html/somedir) it works well, but as soon as I come out of the designated Web spcae I get 403 errors.

I have set my httpd.conf to 'Options FollowSymLinks' and I still get no joy.
In the log the error is that I dont have permission. I have set the folder that the SymLink points to to have a chmod 2777 (extream I know) and still I dont have permission.

I have even tried to create an Alias to the same folder and I dont get any joy.

There must be a way of doing this, after all, how can people like myspace have so many video and audio files in just one web space?

What I want to do is to have my site hosted in my /var/www/html directory, and have all the uploaded data, images - video and mp3's stored in another location.

Any help would be greatly appreciated as I have now run out of ideas and my eyes ache from reading forums :-(

Thanks in advance :-)

Anadi
:-)
  #2  
Old 01-Nov-2006, 20:11
mphhpm mphhpm is offline
New Member
 
Join Date: Nov 2006
Posts: 1
mphhpm is on a distinguished road

Re: Symbolic Links and Apache


We have run into the same error and tried the same fixes without success. Did you ever get this one resolved?

peace,
mph
  #3  
Old 10-Dec-2006, 04:47
Anadi_Taylor Anadi_Taylor is offline
New Member
 
Join Date: Aug 2006
Posts: 2
Anadi_Taylor is on a distinguished road

Re: Symbolic Links and Apache


Sorry for the delay in reply - but at least I have a solution for you :-)

If you CD to /etc/selinux you will see a file called config.
By default this file is set at the highest security level: SELINUX=enforcing
What you need to do is set the SELINUX so it reads: SELINUX=permissive

This will lower the security of your system slightly.

HTH

Anadi :-)
 
 

Recent GIDBlogToyota - 2008 July Promotion by Nihal

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache2 config issues monev Apache Web Server Forum 2 28-Jun-2004 06:19
Can't view pages from another machine on the Intranet aevans Apache Web Server Forum 9 14-May-2004 02:26
Fallowing symbolic links to files. DingbatCA Apache Web Server Forum 6 25-Nov-2003 10:53
Apache multiple localhosting - desperate! jnorris Apache Web Server Forum 8 23-Nov-2003 23:55
Problems with apache win 98 php and vhosts Kplonk Computer Software Forum - Windows 2 22-May-2002 10:06

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 22:33.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.