Greetings!
What is the explanation for using /var/www as the webdirectory instead of the /srv directory?
Should'nt the /var directory being used for variable data and the /srv directory vor service data?
I am new to debian-9 and being just curious
Wolf
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
/var/www
Re: /var/www
That's a historical decision. You could argue that the contents of a website are variable data. The /srv directory was intended for network shares, but those are nowadays mostly under /mnt of /media.
Re: /var/www
Yes I agree, that's why most common installation of apache, ngix default directory is /var/www because it's a data that change constantly.