With LayoutIgnoreTagHeader you can specify that if a tag (such as <frame>) exists that mod_layout will ignore the file and not place header on it.
<VirtualHost www.foo.com:80> LayoutIgnoreTagHeader <frame> </VirtualHost>