Fino a aprile funzionava, ora non pìu :
in srm.conf ho:
Alias /indirizzario /etc/addressbook
<Location /indirizzario>
AuthType Basic
AuthName "Utenti DIC"
AuthUserFile /etc/passwd
<Limit GET>
Require valid-user
</Limit>
Allow from all
</Location>
Alias /intranet/ /var/www/intra/
<Location /intra/>
AuthType Basic
AuthName "Utenti DIC"
AuthUserFile /etc/pa6wd
<Limit GET>
Require valid-user
</Limit>
Allow from all
Options +ExecCGI
</Location>
Il risultato è questo:
se chiamo /intra/index.html mi risponde:
"Authorization Required
This server could not verify that you are authorized to access the
document requested. Either you supplied the wrong credentials (e.g.,
bad password), or your browser doesn't understand how to supply the
credentials required."
e su error.log:
[Fri Aug 6 18:41:16 2004] [error] [client *.*.*.*] user not found: /intra/
(noatre i due spazi tra user e not)
in modules conf ho:
# Autogenerated file - do not edit!
# This file is maintained by the apache-ssl package.
# To update it, run the command:
# /usr/sbin/modules-config apache-ssl
ClearModuleList
AddModule mod_so.c
AddModule mod_macro.c
LoadModule config_log_module
/usr/lib/apache/1.3/mod_log_config_ssl.so
LoadModule mime_module /usr/lib/apache/1.3/mod_mime_ssl.so
LoadModule negotiation_module
/usr/lib/apache/1.3/mod_negotiation.so
LoadModule status_module /usr/lib/apache/1.3/mod_status.so
LoadModule info_module /usr/lib/apache/1.3/mod_info.so
LoadModule autoindex_module /usr/lib/apache/1.3/mod_autoindex.so
LoadModule dir_module /usr/lib/apache/1.3/mod_dir.so
LoadModule cgi_module /usr/lib/apache/1.3/mod_cgi.so
LoadModule userdir_module /usr/lib/apache/1.3/mod_userdir.so
LoadModule alias_module /usr/lib/apache/1.3/mod_alias.so
LoadModule rewrite_module /usr/lib/apache/1.3/mod_rewrite.so
LoadModule access_module /usr/lib/apache/1.3/mod_access.so
LoadModule auth_module /usr/lib/apache/1.3/mod_auth_ssl.so
LoadModule expires_module /usr/lib/apache/1.3/mod_expires.so
LoadModule unique_id_module /usr/lib/apache/1.3/mod_unique_id.so
LoadModule setenvif_module /usr/lib/apache/1.3/mod_setenvif.so
LoadModule apache_ssl_module /usr/lib/apache/1.3/libssl.so
LoadModule php4_module /usr/lib/apache/1.3/libphp4.so
manca qualcosa ?
notare che se chiamo /intranet mi vinee correttamente la pagina, anche
senza dare autenticazione, però ...
inoltre p[rima dell'aggiornamento di fine marzo funzionave regolare !