Paul Lussier Wrote:
> I have, in the protected directory, created a symlink to another
> directory, 
> which is NFS automounted.  This directory, since it is accessible to the
> world 
> via NFS, must be protected using Unix permissions.  However, there is
> stuff in 
> this directory which I need accessible via the web.  How do I make this 
> symlink/subdirectory accessible to only a certain group of people via the
> web 
> without compromising the Unix permissions on the real directory structure?
> 
> I've though of copying the data, but that gets out of hand rather quickly,
> and 
> tends to lead towards one of the 2 locations getting out of date, which is
> why 
> I'd rather just follow a symlink to the location :)
> 
        [Lussier, Kenneth]  
        You already have the answer! You used htaccess/htpasswd to protect
the directory, so the symlinks are also protected (inherited rights and all
that). Now, in the /etc/httpd/conf/httpd.conf (under RH) in the <DIRECTORY>
section that you created, add the line 
        Options FollowSymLinks. That way, the whole directory is protected,
including the symlinks.
          
        Kenny 
 


Kenneth E. Lussier
FISC-RMS

"The best things (software) in life are FREE"

>  

**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to