Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Garfield on June 04, 2005, 04:37:52 PM
-
Hi,
Today I have added another hd to my SME 6.01 system.
Then I went about and moved some ibays to the new hd, including some websites. (Using Michiel Blotwijk's HowTo for an extra hd). I created symlinks to the new locations, and browsing them on the command line all went fine. However, browsing the websites with an Internet browser does not work: permission denied.
I am fairly sure that I have set the permissions correctly, as I have set them exactly as they were.
After doing some searching here and on the rest of the Internet, I have a feeling I need to change the Apache config to have Apache follow symlinks.
I fiddled a bit with the custom templates (including +FollowSymLinks) statements, but that did not have the desired results.
Has anyone done this successfully ?
I would appreciate any help greatly !
-
OK, that was easier than I thought.
For anyone interested: use apache template 85DefaultAccess.
In that, replace this line :
Options None
with this line :
Options FollowSymLinks
By doing that, you tell Apache that it can follow SymLinks everywhere by default. Maybe it can be done for ibays exclusively, but I couldn't get it to work.
Now I only have a strange thing left with FTP-ing to the moved ibay, but I'm sure I'll figure that one out too.
-
..........
Maybe it can be done for ibays exclusively, but I couldn't get it to work.
..........
You can accomplish this by using htaccess.
-
I have done away with the symlinks alltogether because of FTP problems. I found a much simpler solution: mounting via /etc/fstab. I learned that as of the 2.4 kernel, filesystems can be mounted more than once. So I removed the symlinks and mounted the various ibays on my 2nd disk into the directory structure on the 1st disk, and voilĂ , it all works !