Announcement

Collapse
No announcement yet.

htaccess file ...

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • paulo
    started a topic htaccess file ...

    htaccess file ...

    Hi,

    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
    </Limit>

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

    System: CentOS 5 | iworx 3.0.3

    Thanks in advance

    Paulo

  • paulo
    replied
    Hi Paul,

    Solved... thank's

    It is a 64bits box ... please update your "todo" on next upgrade ;-)

    Regards

    Leave a comment:


  • IWorx-Paul
    replied
    Hi Paulo,

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

    LoadModule authn_file_module /usr/lib/httpd/modules/mod_authn_file.so
    LoadModule auth_basic_module /usr/lib/httpd/modules/mod_auth_basic.so
    LoadModule authz_groupfile_module /usr/lib/httpd/modules/mod_authz_groupfile.so

    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

    Paul

    Leave a comment:

Working...
X