[Zope] Homepage
Andreas Jung
lists at andreas-jung.com
Mon Oct 4 07:47:26 EDT 2004
--On Montag, 4. Oktober 2004 12:44 Uhr +0100 John Poltorak <jp at warpix.org>
wrote:
> On Mon, Oct 04, 2004 at 01:35:12PM +0200, Andreas Jung wrote:
>>
>>
>> --On Montag, 4. Oktober 2004 12:28 Uhr +0100 John Poltorak
>> <jp at warpix.org> wrote:
>>
>> > Is there a list of file names which Zope looks for to automatically
>> > display a homepage when a website is referenced?
>> >
>> > I would like home.htm to shown when viewing www.mysite.org but it
>> > doesn't look as if Zope searches for such a file. Is this a
>> > configuration option?
>>
>> The default view is always 'index_html'.
>
> Is there any way to overide this or create an index_html which simply
> autoloads home.htm?
index_html (as DTML method):
<dtml-call "REQUEST.RESPONSE.redirect(this().absolute_url() +
'/home.html')" >
or just
<dtml-call "REQUEST.RESPONSE.redirect('/home.html')" >
-aj
More information about the Zope
mailing list