Question
I need help correcting the Auto-generated twiki.conf for Apache 2.2.3.
I am getting the following error from httpd. Syntax error on line 59 of /etc/httpd/conf.d/twiki.conf Invalid command 'AuthUserFile', perhaps misspelled or defined by a module not included in the server configuration.
I put the twiki.conf in conf.d which load fine.
Yes, auth_module is commented out because Apache 2 uses authz_host_module instead.
Tis section of twiki.conf is what I am having issues with.
# Password file for TWiki users
AuthUserFile /var/www/html/twiki/data/.htpasswd
AuthName 'Enter your
WikiName: (First name and last name, no space, no dots, capitalized, e.g.
JohnSmith). Cancel to register if you do not have one.'
AuthType Basic
Thanks
Environment
--
SJoelChaney - 30 Nov 2006
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
To my best knowledge and from what I can see from Googling the authz_host_module is not a replacement of auth_module. It seems the module has been split in more modules.
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authz_host_module modules/mod_authz_host.so
And you probably need all the 3 new
--
KennethLavrsen - 01 Dec 2006
Thanks my Apache 2.2.3 httpd.conf was lacking auth_basic_module and authn_file_module. Adding these modules fixed authenication issues.
--
SJoelChaney - 01 Dec 2006