> On Sat, 29 Jul 2000, rharvey wrote:

> > I am trying to ftp into my linux box to place a web page into
> > /home/httpd/html directory no matter what I try access is denied (to copy a
> > file I can read all I want .
> > I tried chomod I changed user access user groups....
> > what to I need to do to allow us to ftp in and upload the new web pages?

You could move your html directory into your home directory and
change the document root in apache (e.g. create/use a /home/your user
name/public_html dir). If you plan on hosting other domains you
would be better off setting up all domains as virtual domains. I
haven't explored it but I am sure you can setup users to have a
default public_html dir and have apache use that for user and domain
websites. Using /home/user/public_html for websites will also
make samba setup easier. You will also be able to setup FTP so that
all users will only see/have access to their /home/user dir. If you
want to use/allow cgi you will also need to change the script alias
path in apache. I believe dir's need to be set read/execute for all,
possibly all dir's, in the path to the html and cgi dir's, from /
down.

Reply via email to