home | list info | list archive | date index | thread index

[OCLUG-Tech] Apache 403 Error

Good Day all

OK background need to set up a LAMP server with sftp access to /var/www/html

Using scripts from the net, I followed this path

Create a user "webguy"

mkdir /home/webguy/www_dev
mount --bind /var/www/dev/ /home/webguy/www_dev

edited /etc/fstab to make it permanent

This redirect worked

>From there I am in a hit and miss area (and I know it will be a simple solution that I just don't see)

Getting the rights/owners and httpd.conf has not worked

I created a group called webusers, and made webguy a member of that group (we don't have to keep this, but it is how I got it to work for sftp access)

Ls                                            chown                                  chmod

/var/www                           root:webusers                  770
/var/www/html               root:webusers                770

Now webguy can upload, and change files but I go http://myserver/ I get 403 forbidden so this is a rights issue I have erred on.

Any help would be appreciated.

Thanks.

T. James


replies