This is a discussion on mod_userdir not working with apache2 within the Linux Web Servers forums, part of the Web Server and Related Forums category; Hi, I am using Suse 9.1 with apache2 and have a problem with my user directories. I do believe ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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. greetings, BXS This is from my default_server.conf: <IfModule mod_userdir.c> UserDir public_html UserDir disabled root UserDir enabled test Include /etc/apache2/mod_userdir.conf </IfModule> This is from mod_userdir.conf <IfModule mod_userdir.c> UserDir public_html <Directory /home/*/public_html> AllowOverride FileInfo AuthConfig Limit Indexes Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec <Limit GET POST OPTIONS PROPFIND> Order allow,deny Allow from all </Limit> <LimitExcept GET POST OPTIONS PROPFIND> Order deny,allow Deny from all </LimitExcept> </Directory> </IfModule> |