httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Li Tan <li...@ou.edu>
Subject Re: setup apache account
Date Tue, 04 Dec 2001 18:45:09 GMT
Hi, I created a user and make its home directory /var/www and changed the
directory ownership, however the web doesnot work and is forbidden. Why?
what should I do?

thanks

> There are a few options, this is one take... the user
> ID that apache runs under only needs read access to
> display files so I would set up another normal user
> account, maybe even "webmaster" (as an example anyway),
> and make that users home dir /var/www, then (as root);
>
>  chown webmaster.webmaster -R /var/www
>
> I'm not sure how you add users with RedHat but at worst
> you can simply edit /etc/passwd and change the (obvious)
> homedir reference with any text editor. Then when the
> "webmaster" user logs in via ftp they can upload files
> and create folders just fine.
>
> --markc
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message