Hello,
I have protected /var/www/html with an .htaccess and .htpasswd file.
When I visit <serverIP> everything works correct. But when I go to the server hostname, the .htaccess file and thus the .htpasswd file isn't being used.
How can I fix this?
Regards,
I have protected /var/www/html with an .htaccess and .htpasswd file.
When I visit <serverIP> everything works correct. But when I go to the server hostname, the .htaccess file and thus the .htpasswd file isn't being used.
How can I fix this?
Regards,