invalid document root configuration workaround