hello everyone , i have a folder call admin and inside this folder i have a file admin.php and i put also 2 other files htaccess and htpasswd . but when i upload my file via FTP and after i type my site address/admin/admin.php it ask me for username and password but after give me a error
Code:
There was an error.
This error can occur because of a syntactically incorrect .htaccess file , entered by you or one of your scripts in the current folder , or from your site that tries to establish a connection to an external server unreachable
Code:
Options -Indexes
AuthType Basic
AuthName "Restricted Area"
AuthUserFile /freetesting.altervista.org/admin/.htpasswd
require valid-user