I’ve set up Apache on a Linux home computer. I’ve also added a Samba network share to that machine. In Apache’s Sites-Enabled conf directory, I have added a virtual host for example.com (and added this record to my DNS). This VHost serves /var/www/sambaweb/*, which is a symlink to /media/samba/sambaweb/
Apache seems to work fine, I can get the default page on the servers IP address. However, when I enter the example.com URL, I get a 401 Unauthorized error.
Any idea why? And any idea if the reason for this 401 gets logged anywhere? I have checked Apache’s Access- and Error logs, but only see the 401 in the access log and no errors.