On Thu, Oct 12, 2006 at 11:35:57PM +0200, Josip Rodin wrote: > After the upgrade, apache wouldn't start because of: > > Invalid command 'AuthUserFile', perhaps misspelled or defined by a module > not included in the server configuration > > The upgrade process should detect that an 'a2enmod authn_file' is required. > The file that included this setting on this site was in sites-enabled.
Furthermore, to actually have AuthUserFile function in the same block, other modules were also missing, but the lack of them was indicated by 500 error codes to the users and rather confusing error messages in the error log. To satisfy things like the very basic upstream howto: http://httpd.apache.org/docs/2.2/howto/auth.html one also needs auth_basic and authz_user in addition to authn_file. The upgrade procedure should grep the entire existing Apache configuration for instances of AuthType Basic, AuthUserFile, Require (valid-)?user and such things, and subsequently enable their respective modules. -- 2. That which causes joy or happiness. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]