Ciao a tutti, stò tentando di proteggere un file residente nel server.
Ho creato il file htaccess così;
Io vorrei proteggere con password solo il file mio.php , ma nel modo che ho fatto non mi funziona.codice:AuthName "Amministrazione" AuthType Basic AuthUserFile /web/htdocs/www.site.it/home/.htpasswd Require valid-user <Files ~ "./mio.php$"> Require user admin </Files>
Come faccio?