Ciao ragazzi!
Sto impazzendo nel far girare uno script che su un'altro mio server funziona perfettamente! Questo mi restituisce errore...non so più dove sbattere la testa!
Penso che il problema sia dovuto al fatto che non trova il file .htpasswd....


Sono entrato nel php.ini e ho visto:
codice:
DOCUMENT_ROOT 	/var/www/vhosts/[dominio.ext]/httpdocs
Dunque nel mio file htaccess ho messo:
codice:
AuthName "Titolo della finestra del login"
AuthUserFile /var/www/vhosts/[dominio.ext]/httpdocs/backup-database/bk-file/.htpasswd
AuthType Basic
Require valid-user
Fatto anche questo, non funziona lo stesso...come devo fare per recuperare il vero percorso del file ammesso che sia questo l'errore?

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.

More information about this error may be available in the server error log.