Apache Dynamic Virtual Hosts with multiple domains
Solution 1:
Just off the top of my head, i think the issue is you have to add ~ or use <DirectoryMatch> instead.
<Directory ~ "^/www/[0-9]{3}">
Directory Docs
<DirectoryMatch "^/www/(.+/)?[0-9]{3}/">
DirectoryMatch Docs