Hi,

By default, when the browser points to http://mypublication.com, the
publication search an "index.html" document.

I think it could be cool to let the publication's admin to define the
default page he wants.

There is possible to define the default page in the publication's
lenya.properties.xml file by doing this : 
***************************************************
** publication sitemap.xmap : **
--- replace : 
    <map:match pattern="**/">
        <map:redirect-to
uri="{proxy:/{page-envelope:publication-id}/{1}/index.html}"/>
      </map:match>
--- by : 
 <map:match pattern="**/">
        <map:redirect-to
uri="{proxy:/{page-envelope:publication-id}/{1}/{properties:default.page.pub}}"/>
      </map:match>

** publication's lenya.properties.xml **
--- add in <properties>
<property name="default.page.pub" value="nameOfYourPage.html"/>

**************************************************

- The problem is that we have to restart the server to reload the
properties. There is a way to don't have to restart ?

- I says that there is a problem because I think that it can be cool to
offer an UI to admin user to let him to define the default page he wants...

WDYT ?

Regards








---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to