Bret Bernhoft@lemmy.world to linuxmemes@lemmy.world · 18 hours agoaccuratelemmy.worldimagemessage-square36fedilinkarrow-up1439arrow-down112
arrow-up1427arrow-down1imageaccuratelemmy.worldBret Bernhoft@lemmy.world to linuxmemes@lemmy.world · 18 hours agomessage-square36fedilink
minus-squareLaser@feddit.orglinkfedilinkarrow-up1·3 hours agoWell, /var/www is in fact not part of the FHS, not even optional… it doesn’t exist on my machines either. I think the better choice would be /srv/www which is an example given at https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s17.html
minus-squareranzispa@mander.xyzlinkfedilinkarrow-up1·1 hour agoIt’s been a while I don’t work on webservers, but any of the ones I worked on, be it Apache or Nginx, had all their domains in /var/www. I would imagine /srv to be a much better option, but I’ve never seen it done that way.
Well,
/var/wwwis in fact not part of the FHS, not even optional… it doesn’t exist on my machines either. I think the better choice would be/srv/wwwwhich is an example given at https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s17.htmlIt’s been a while I don’t work on webservers, but any of the ones I worked on, be it Apache or Nginx, had all their domains in
/var/www. I would imagine/srvto be a much better option, but I’ve never seen it done that way.