08-05-04 10:49 PM
Boris "BXS" Schulz wrote:
> Hi,
>
> I am using Suse 9.1 with apache2 and have a problem with my user
> directories.
> I do believe I have included the correct syntax in httpd.conf.local,
> default-server.conf, mod_userdir.conf and /etc/sysconfig/apache.
> The error I get when accessing a userdir via myserver.com/~user
> is "File does not exist: /mywwwrootdir/~user"
> So what this means is pretty clear, the mod_userdir is not running,
> otherwise it would have been an access to /home/user/public_html, but
> why? I can see that the module should be loaded from the
> /etc/apache2/sysconfig.d/loadmodule.conf
> Could it be that I need the file mod_userdir.c? I cannot locate it on
my
> drive but I guess, it would have been included with the installation,
if
> it really was necessary.
> It would be nice if someone could paste me the lines referring to
> mod_userdir from a working configuration or tell me where I went
wrong.
The only line you need is
UserDir public_html
You should start by removing all the <IfModule ...> and </IfModule>
lines. They only serve to hide useful error messages (like, for
example, if mod_userdir is not included in the server).
Second, you should remove all the UserDir directives except the single
one I suggest above. At the moment you have duplicate and irrelevant
directives. (The "UserDir disabled root" is not a bad idea, and you
should put it back after you get things working.)
Joshua.
[ Post a follow-up to this message ]
|