Used to publish a site which is to have a shared toplevel instance tree,
and no URI rewriting (i.e. no "/sessions/XXX/" at the beginning of the path). So,
this site will appear to be a normal non-dynamic site even though the pages are
being generated dynamically.
- arguments:
- object-type Symbol
- The type of the toplevel object to be instantiated
- keyword arguments:
- path String, Default Value: "/"
- Must start with
- / The URI path to be published, Default Value: NIL
- Defaults to
- / NIL, Default Value: NIL
- paths If you want to give multiple paths, Default Value: (ENSURE-LIST PATH)
- Overrides path
- server Allegroserve server object, Default Value: *HTTP-SERVER*
- If you have additional servers other than the default
*http-server* (e.g. an SSL server) then you may want to call this function for each server
- host Hostname for URI, Default Value: NIL
- Must be a valid hostname. By default comes from the object instance
- hosts Hostnames for URI, Default Value: NIL
- Must be valid hostnames. Overrides host
- key Key for the *instance-hash-table*, Default Value: NIL
- Defaults to someting reasonable.
- object if you want to provide an already-instantiated one, Default Value: NIL
- Can be a list. Will override object-type
- content-type by default comes from the object instance, Default Value: NIL
- aserve-args Any other AllegroServe arguments you'd like to provide, defaults to nil, Default Value: NIL
- object-args Any other object arguments you'd like to provide on instantiation, defaults to nil, Default Value: NIL
- example:
(publish-shared 'site:assembly
:host (list "www.genworks.com" "ww2.genworks.com" "mccarthy.genworks.com"))
|