[Grok-dev] Newbie question: adding static document at site root?
michael at d2m.at
Tue Sep 23 12:19:51 EDT 2008
Pete Hunt wrote:
> Hi -
> I'm developing a Flash/Flex application which communicates with Grok via
> AMF. The problem is, in order for the security to work, I need to add a
> crossdomain.xml file to the site root (http://host/crossdomain.xml).
> Unfortunately, I can only create views off of my application's path (
> http://host/myapp/blah), and I can't for the life of me figure out how to
> add a static file via the ZMI to the site root.
In your projects configure.zcml add
<include package="zope.app.file" />
that gets you a 'File' entry in ZMI.
More information about the Grok-dev