[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#369879: marked as done (Changing apache2.conf to use UserDir causes it to fail)



Your message dated Fri, 02 Jun 2006 16:20:05 +1000
with message-id <447FD895.7060709@0c3.net>
and subject line Bug#369879: Changing apache2.conf to use UserDir causes it to fail
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
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!



--- End Message ---
--- Begin Message ---
Brian Angeletti wrote:
> 
> 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!

Because you didn't actually load the module.  Try "a2enmod userdir",
which should not only load the module for you, but also add the above
directives so you don't need to add them to apache2.conf yourself.

See /etc/apache2/mods-available/userdir.{conf,load}

... Adam

--- End Message ---

Reply to: