htaccess file ...


When creating a .htaccess file (manually ou thru file manager) i always get a 500 error and the log has the “/home/user/domain.xx/html/bo/.htaccess: Invalid command ‘AuthUserFile’, perhaps misspelled or defined by a module not included in the server configuration” message

The .htaccess file is configured:
AuthUserFile /home/user/domain.xx/html/bo/.htpasswd
AuthGroupFile /dev/null
AuthName “Private Area”
AuthType Basic
<Limit GET POST>
require valid-user

Is there something missing me ? ou could this a bug ?

System: CentOS 5 | iworx 3.0.3

Thanks in advance


Hi Paulo,

Check that these lines are in the /etc/httpd/conf/httpd.conf

LoadModule authn_file_module /usr/lib/httpd/modules/
LoadModule auth_basic_module /usr/lib/httpd/modules/
LoadModule authz_groupfile_module /usr/lib/httpd/modules/

If that aren’t, add them to the list of LoadModule lines.

If it’s a 64 bit server, change the paths to be /usr/lib64/httpd


Hi Paul,

Solved… thank’s

It is a 64bits box … please update your “todo” on next upgrade :wink: