add lines automatically based on a field on another file

hello

I have a number of lines that need to be added at the end of a file each time I add a field in another file (let's name it file2)

file2 has this format:
filed1:field2:path1:path2:path3:path...

Whenever I add a path field, I should add to file1 these lines:

<Location path1>
DAV svn
SVNParentPath path1
Options FollowSymLinks
AuthBasicProvider ldap
<LimitExcept GET PROPFIND OPTIONS REPORT>
Require valid-user
</LimitExcept>
AuthType Basic
AuthZLDAPAuthoritative off
SetOutputFilter DEFLATE
\.(?:gif|jpe?g|png)$ no-gzip dont-vary
Header append Vary User-Agent env=!dont-vary
</Location>

any idea?

thanks.