[CentOS] Can't access files at localhost

Thu Oct 13 14:26:33 UTC 2005
Tom <admin at homemachine.net>

you could change your symlink to /var/www/html instead of 
/var/www/html/web so that the default points to your files.

there are many other options but you would need a better understanding 
of apache virtual hosts to work around this.

Dave Gutteridge wrote:
> It turns out that the reason I couldn't access files at localhost was
> because the httpd service was not started. I've started it, and I can
> access a test file that is in the /var/www/html directory.
> 
> However, the directory /var/www/html/web directory, which is a symlink
> to /home/dave/web can not be accessed. Any file within that directory
> that I try to access, says that I do not have permission to access that
> file.
> 
> I tried changing the permissions on both the web symlink and the source
> directory to 777, but that had no effect.
> 
> Why am I not able to access this directory via my local apache server?
> 
> Dave
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos