Tags:
create new tag
view all tags

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

TWiki version: TWikiRelease04x00x05
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Fedora 6
Web server: Apache 2.2.3
Perl version: 5.8.8
Client OS:  
Web Browser:  
Categories: Installation, Htaccess

-- SJoelChaney - 30 Nov 2006

Answer

ALERT! 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

Change status to:
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2006-12-01 - SJoelChaney
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.