Hi. How do I give only selected users access to /usr/local/httpd/htdocs ? Thanks, Steve. SuSE 8.0.
On Saturday 28 September 2002 19:10, steve wrote:
How do I give only selected users access to /usr/local/httpd/htdocs ? Thanks, Steve. SuSE 8.0.
Create a new group for the users who should have access (man groupadd). Add the users to this group (man usermod). Change the group-ownership of htdocs (and the directories below) to this new group (man chgrp). Then change the group-permissions for htdocs and below to the desired value (man chmod). Thomas.
On Sat, 28 Sep 2002 19:10:11 +0200 steve <fsanta@arrakis.es> wrote:
Hi. How do I give only selected users access to /usr/local/httpd/htdocs ? Thanks, Steve. SuSE 8.0.
You can also use apache's .htaccess file. But the users would have to give a password the firat time they try to access it. Do a google search for htaccess tutorial, there are alot of them out there. -- use Perl; #powerful programmable prestidigitation
participants (3)
-
steve
-
Thomas Hofer
-
zentara