![]() |
|
#1
|
|||
|
|||
Symbolic Links and ApacheHi 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
|
|||
|
|||
Re: Symbolic Links and ApacheWe have run into the same error and tried the same fixes without success. Did you ever get this one resolved?
peace, mph |
|
#3
|
|||
|
|||
Re: Symbolic Links and ApacheSorry 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 GIDBlog
Accepted for Ph.D. program by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Apache2 config issues | monev | Apache Web Server Forum | 2 | 28-Jun-2004 07:19 |
| Can't view pages from another machine on the Intranet | aevans | Apache Web Server Forum | 9 | 14-May-2004 03:26 |
| Fallowing symbolic links to files. | DingbatCA | Apache Web Server Forum | 6 | 25-Nov-2003 11:53 |
| Apache multiple localhosting - desperate! | jnorris | Apache Web Server Forum | 8 | 24-Nov-2003 00:55 |
| Problems with apache win 98 php and vhosts | Kplonk | Computer Software Forum - Windows | 2 | 22-May-2002 11:06 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The