httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <Owen.Bo...@swx.com>
Subject RE: Invalid command 'AuthUserFile'
Date Mon, 29 Jul 2002 14:11:35 GMT
I suspect your LoadModule directives are not being acted upon. Are they inside a conditional?
(e.g. IfDefine..)

>From: Takacs Istvan [mailto:istvan.takacs@hungax.com]
>Sent: Montag, 29. Juli 2002 15:26
>To: apache (Elektronikus levelek)
>Subject: Invalid command 'AuthUserFile'
>
>
>Hi,
>
>I'd like to use user authentication on our
>Apache 1.3.26:
>
>LoadModule config_log_module  libexec/mod_log_config.so
>LoadModule mime_module        libexec/mod_mime.so
>LoadModule status_module      libexec/mod_status.so
>LoadModule info_module        libexec/mod_info.so
>LoadModule dir_module         libexec/mod_dir.so
>LoadModule speling_module     libexec/mod_speling.so
>LoadModule alias_module       libexec/mod_alias.so
>LoadModule access_module      libexec/mod_access.so
>LoadModule auth_module        libexec/mod_auth.so
>LoadModule anon_auth_module   libexec/mod_auth_anon.so
>LoadModule dbm_auth_module    libexec/mod_auth_dbm.so
>LoadModule php4_module        libexec/libphp4.so
>
><Directory "/var/www/site">
>    AuthType Basic
>    AuthName oursite
>    AuthUserFile /var/www/.htpasswd
>    Require valid-user
>    Options Indexes FollowSymLinks MultiViews
>    AllowOverride None
>    Order allow,deny
>    Allow from all
></Directory>
>
># cat .htpasswd
>user:UzGMMdErALLfE
>
># ls -l .htpasswd
>-rw-r-----   1 nobody   nogroup       21 Jul 29 15:09 .htpasswd
>
># /usr/local/apache/bin/apachectl configtest
>Syntax error on line 50 of /etc/httpd/httpd.conf:
>Invalid command 'AuthUserFile', perhaps mis-spelled or defined 
>by a module not included in the server configuration
>
>What's wrong with our configuration?
>
>Thanks in advance!
>
>Regards;
>
>		Istvan
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message