Chet Nichols, On Saturday July 06, 2002 01:56, you said something about: > 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!
You probably need a "Directory" tag. If you look in your httpd.conf you will probably that there is one that says something like... <Directory "/www/html"> ...and a little below that... Options Indexes Includes FollowSymLinks ...The above could be wildly different, but the point is that it would have the option for indexes. There is usually a directory tag that is for the "/" directory that ensures that these kinds of things can't be done for security reasons. It also usually allows the following of symlinks to allow that to work as you had stated. So to fix your problem (hopefully) you need to add something to the effect of... <Directory "/home/user/site.com/"> Options Indexes Includes FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> Of course do a little more reading if it doesn't exactly fit your needs. The httpd.conf file provided by RH is fairly well commented. Hope that helps. -- Brian Ashe CTO Dee-Web Software Services, LLC. [EMAIL PROTECTED] _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list