There is no genuine "recommended place". You can use the entire namespace to add whatever you like as your own stuff, as long as you don't mess up the existing paths.
I usually prefer to build a third tree at one place: we have
/ where the OS tree begins, with
/usr,
/lib,
/share,
/etc, and so on, and we have another tree below
/usr/local for all things managed via pkg, so that these are already at one common place. Now decide for another place where all the local additions go (
/opt would be a traditional choice), and you can have
/opt/sbin for the self-written admin scripts,
/opt/etc for local configuration files (you could even use
/opt/etc/rc.d and
/opt/etc/periodic by simply adding them to the main config files), and then probably
/opt/www for the server root.
Advantage: you have completely separated this from the OS upgrades and the ports upgrades, you can glance through it for the local additions, you can configure these accordingly in backup tools and always know what it is, you can move the whole tree to a different machine when needed, you may need to share parts of it between different systems, and this is all out of the way for everything else.
Hi
msplsh I wonder why are those paths considered "terrible"? At least, under OpenBSD, "/var/www" is even the default one for httpd.
/var is traditionally for data written by the applications themselves: locks, logfiles, databases.Usually short-life, may run full on errors, and not need longterm retention in the backup.