Mettendo AllowOverlay Ad All il problema mi si risorve in parte, ovvero la riscrittura degli url mi viene applicata ma la protezione con password no, quando accedo ad una cartella protetta da password mi stampa l'errore Internal Server Error, il file .htaccess di quella directory è questo:
Codice:
AuthType Basic
AuthName Resererved area
AuthUserFile '.htpasswd'
<Limit GET POST>
required valid-user
</Limit>
Mentre, la parte che mi hai consigliato di modificare te, dopo la modifica consigliatomi e questa:
Codice:
<Directory "${SRVROOT}/htdocs">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.4/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
#AllowOverride FileInfo AuthConfig Limit
#
AllowOverride All
#
# Controls who can get stuff from this server.
#
Require all granted
</Directory>
P.S.: Ho anche provato a modificare la direttiva cosi: AllowOverride FileInfo AuthConfig Limit, ma niente, come prima.