Re: Apache DocumentRoot as symlink
Ok, it works with Virtuals, as everyone said. Could not get it to work with the DocumentRoot for the entire server, no matter what I tried. Kept getting "You don't have permissions to access / on this machine" or something. I assumed (yes, I know what that makes me) the reason for not allowing symlinks was a security issue. Now, I'm rethinking that. So, I guess I have no arguments against it. Thanks for all the help. My devel box is now doing exactly what I wanted it to do. Rod > Rod Rodolico wrote: > >>Been playing with this for a little while. I need to set up my Apache >>DocumentRoot to be a symlink on the devel box. Any clues? I can do a work >>around, but it would be really nice to just use symlinks. >> >>I have set up followsymlink under the permissions for /, and under >> several >>other directories, and given permissions (very, very lax ones) to all of >>the directories I would be linking to, but still no joy. >> >>Any help would be great. BTW, I know never to do this on a production >> box. >> >>Thanks, >> >>Rod >> >> >> > Yeah, my virtual conf works exclusively off symlinks, it simplifies > things like disabling a domain > quickly, without having to worry about removing content, I'd be > interested to hear the reasoning > behind not using symlinks for DocumentRoot. > > -- > Duane Powers > uberLAN Technologies > email: [EMAIL PROTECTED] > web: http://www.getuber.com > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > > -- The good thing about standards is that there are so many to choose from. -- Andrew S. Tanenbaum -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Apache DocumentRoot as symlink
Rod Rodolico wrote: Been playing with this for a little while. I need to set up my Apache DocumentRoot to be a symlink on the devel box. Any clues? I can do a work around, but it would be really nice to just use symlinks. I have set up followsymlink under the permissions for /, and under several other directories, and given permissions (very, very lax ones) to all of the directories I would be linking to, but still no joy. Any help would be great. BTW, I know never to do this on a production box. Thanks, Rod Yeah, my virtual conf works exclusively off symlinks, it simplifies things like disabling a domain quickly, without having to worry about removing content, I'd be interested to hear the reasoning behind not using symlinks for DocumentRoot. -- Duane Powers uberLAN Technologies email: [EMAIL PROTECTED] web: http://www.getuber.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RE: Apache DocumentRoot as symlink
> -Original Message- > From: Rod Rodolico [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 13, 2003 5:56 PM > To: [EMAIL PROTECTED] > Subject: Apache DocumentRoot as symlink > > > Been playing with this for a little while. I need to set up my Apache > DocumentRoot to be a symlink on the devel box. Any clues? I can do a work > around, but it would be really nice to just use symlinks. > > I have set up followsymlink under the permissions for /, and under several > other directories, and given permissions (very, very lax ones) to all of > the directories I would be linking to, but still no joy. > > Any help would be great. BTW, I know never to do this on a production box. I have vhosts set up using symlinks, so I know it will at least work that way. I was running out of space on /var for my developer stuff, so I made /var/www/developer a symlink to a directory on a much larger drive. The difference here is that the main document root /var/www is not a symlink, only the virtual host directories below it are. That may be the key to making it work, using vitual hosts. --dwh --- Dale W Hodge - [EMAIL PROTECTED] Vice Chairman & Secretary - [EMAIL PROTECTED] Air Capital Linux User's Group (ACLUG) www.aclug.org --- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Apache DocumentRoot as symlink
Hi Rod, If it still doesn't work with symlinks i doubt if its ever gonna work that way as you say you provided all rights on the root of your system ;) maybe rewriting will do the same trick as another alternative? Greats, Robbert Helling Citeren Rod Rodolico <[EMAIL PROTECTED]>: > Been playing with this for a little while. I need to set up my Apache > DocumentRoot to be a symlink on the devel box. Any clues? I can do a work > around, but it would be really nice to just use symlinks. > > I have set up followsymlink under the permissions for /, and under several > other directories, and given permissions (very, very lax ones) to all of > the directories I would be linking to, but still no joy. > > Any help would be great. BTW, I know never to do this on a production box. > > Thanks, > > Rod > > -- > The good thing about standards is that there are so many to choose from. > -- Andrew S. Tanenbaum > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > > > __ http://www.wanadoo.nl/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Apache DocumentRoot as symlink
Been playing with this for a little while. I need to set up my Apache DocumentRoot to be a symlink on the devel box. Any clues? I can do a work around, but it would be really nice to just use symlinks. I have set up followsymlink under the permissions for /, and under several other directories, and given permissions (very, very lax ones) to all of the directories I would be linking to, but still no joy. Any help would be great. BTW, I know never to do this on a production box. Thanks, Rod -- The good thing about standards is that there are so many to choose from. -- Andrew S. Tanenbaum -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]