[web] Add datadir-url configuration option (closes #5204550) [applied]