In httpd.conf

Options SymLinks

let's you cross links on the filesystem via http, maybe it's not set up for 
the home directories

I'd go to /
ls -l
chmod 755 home
to let everybody read/change to the home directory
cd home
chmod 755 * 
to let everybody read/change to everyones home directory
chmod 755 */site
to let everybody read/change to everyones 'public_html' directory


The alternative is to create a link from the users home directory to the first 
setup
cd /home/user
ln -s /var/www/html/site.com site.com

Ensure that 'user' is the owner of  /var/www/html/site.com


Wez
On Saturday 06 Jul 2002 5:56 pm, Chet Nichols wrote:
> Hey,
>
> For one of my virtual hosts, I made a symlink of the folder to
> /var/www/html/site.com, used that path as the root directory for the site,
> and it works perfectly. However, when I got rid of the link and change the
> root directory to the actual location of /home/user/site.com/, it won't let
> me get lists of files in folders (ie: when no index file exists), and it
> just says "not enough permission"..it doesn't do it when I have a symlink,
> so the permissions I have set now with the site must be okay. Does anyone
> know whats wrong, or understand what I'm saying? Thanks in advance for the
> help!
>
> Chet
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to