Bug#369879: Changing apache2.conf to use UserDir causes it to fail
Package: apache2
Version: 2.0.55-4
Severity: normal
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.18-emperorbma
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages apache2 depends on:
ii apache2-mpm-prefork 2.0.55-4 traditional model for Apache2
apache2 recommends no packages.
-- no debconf information
The following change is made to apache2.conf:
# UserDir is now a module
UserDir public_html
UserDir disabled root
<Directory /home/*/public_html>
AllowOverride FileInfo AuthConfig Limit
Options Indexes SymLinksIfOwnerMatch IncludesNoExec
</Directory>
The resulting errors:
Forcing reload of apache 2.0 web server...Syntax error on line 205 of
/etc/apache2/apache2.conf:
Invalid command 'UserDir', perhaps mis-spelled or defined by a module
not included in the server configuration
Syntax error on line 205 of /etc/apache2/apache2.conf:
Invalid command 'UserDir', perhaps mis-spelled or defined by a module
not included in the server configuration
failed!
Reply to: