Bugzilla – Bug 128226
running yast2-http-server disables mod_userdir in apache2
Last modified: 2007-02-13 08:30:49 UTC
mod_userdir is enabled by default in apache2, allowing access to /~user/... I ran yast2 http-server and just clicked next in the five step wizard. Afterwards, /~user returned 403 Forbidden. I found out that in the file /etc/apache2/default-server.conf the directive <IfModule mod_userdir.c>... (which includes /etc/apache2/mod_userdir.conf) disappeared.
Created attachment 53980 [details] diff -urN /etc/apache2 /etc/apache2.new
Created attachment 53981 [details] y2logs.tgz
When you start wizard, it creates default working configuration. Do you want to add this module to defaul enable modules?
I've seen this problem on the two apache 2 web servers installed with SuSE Linux 10.0. My reply to Michal Zugec is: o If enabling mod_userdir by default creates a "significant" security risk, then place the directive in default-server.conf, comment the purpose they serve, but comment them out; o If there is no security issue, then include them in default-server.conf and leave them active; o Or cause an "Include..." line to be autogenerated in httpd.conf based on mod_userdir being enabled in Yast; o Or, at the very least, document in the System Adminstration manual what needs to be done to enable mod_userdir. Thanks for your time with this.
This needs some changes in config files. (Remove some directives from default-server.conf to httpd.conf) I will work on it with apache2 maintainer
fixed
change to fixed
how was this bug fixed? I just made a 10.0 install, update and the big is still there jdd
was fixed for 10.1
*** Bug 176758 has been marked as a duplicate of this bug. ***