Hi Ben,

On Tue, Oct 13, 2009 at 11:45 AM, Ben Short <[email protected]> wrote:
> ...When I connect via webdav I can see a index.html file. If I point my
> browser to htttp://127.0.0.1:8888 (I deployed the webapp as root) I
> get redirected to the index.html file.
>
> How is the redirect configured and how can I change it to redirect to
> some other file?...

In the Sling Launchpad this is configured by the
org.apache.sling.launchpad.content which supplies some initial
content.

See 
http://svn.apache.org/repos/asf/sling/trunk/launchpad/content/src/main/resources/content/ROOT.json
for more specific info on the root node properties that configure the
redirect.

>
> Also how can I import bundle content to the root node?
>
> Taking the following XML Descriptor id like the content of the root
> node to be rendered via a GET.jsp located at
> /apps/website/home/GET.jsp
>
> <node>
>    <name>root</name>
>    <primaryNodeType>nt:unstructured</primaryNodeType>
>    <property>
>            <name>sling:resourceType</name>
>            <value>website/home</value>
>        </property>
> </node>

ROOT.json, as shown above, should allow you to setup the root node as required.

-Bertrand

Reply via email to