Mailinglist Archive: opensuse (4053 mails)

< Previous Next >
Re: [SLE] Access to userdirs on Apache webserver
  • From: <dog@xxxxxxxxx>
  • Date: Tue, 21 Aug 2001 14:10:27 -0500 (CDT)
  • Message-id: <Pine.LNX.4.31.0108211407330.31445-100000@xxxxxxxxxxxxx>
you need to edit /etc/httpd/httpd.conf and look for the line like
UserDir public_html
#<Directory /home/*/public_html>

change this from public_html to pub and then on your users home
directories, set the permissions to 755 (rwxr-xr-x) and do the same for
the pub directory in the users home directory. restart apache and that
should take care of the problem.

On Tue, 21 Aug 2001, David List wrote:

>Could someone who made access to userdirs possible, on a SuSE 7.1 system
>running Apache, please tell me how to do that? I have seen the pages linked
>to from, telling about this, but I find them mildly confusing,
>since they deal with setups that differ from the SuSE way of doing things.
>For instance, the SuSE Apache httpd.conf contains stuff that in the other
>setups are split into several different files.
>What I want is to make http access to /home/username/pub/ possible. Access
>to the actual /home/username/ directory should not be allowed, only to the
>pub/ directory.
>I know that it is propably only a Directory directive in the
>/etc/httpd/httpd.conf file and a .htaccess file that should be made, but I
>did not succeed trying out the suggestions made in the mentioned tutorials.
>I have made a file /etc/httpd/users with htpasswd that contains the
>usernames and passwords that should be used, so what's next?
>Best regards,
>David List
>To unsubscribe send e-mail to suse-linux-e-unsubscribe@xxxxxxxx
>For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
>Also check the FAQ at and the
>archives at

Chad Whitten
Network/Systems Administrator
Nexband Communications

< Previous Next >
Follow Ups