[Zope] index_html rendering problem under VHM

David Siedband david@calteg.org
Thu, 3 Jul 2003 18:40:37 -0700


One simple solution to this would be to replace your index_html page 
with a meta-refresh that redirects to the absolute url.

There's probably a much more elegant way to do this by explicitly 
defining the context within your DTML.  Let me know what you find out.

btw, nice site!  One Idea I had in looking at it is that you might want 
to use the following attribute for the text search box so users don't 
have to manually delete the 'Enter Search Terms' part.
onfocus="this.value='';"

--
David


On Tuesday, July 1, 2003, at 03:45  PM, Jason Wertz wrote:

> I'm in the process of testing a VHM / Apache installation of Zope and I
> have no problems with setting up the rewrite rules to work. I'm running
> into problems testing it though...
>
> Accessing my site like this with index_html appended to the url renders
> the page...
>
> http://www.dccc.edu:8080/VirtualHostBase/http/www.dccc.edu:
> 80/VirtualHostRoot/commcorp/index_html
>
> but if I leave off the index_html and just ask for the directory the
> page is a mess...you can see it for yourself. I'm only testing this by
> manually entering the URL so if this will be fixed by the Apache 
> rewrite
> rules when it goes live please let me know. Rendering any other page by
> name works fine, it is only when the server has to pull up the default 
> page
> for a directory that this happens.
>
> I'm using Zope 2.5.1 and my site is in my Zope root not a subfolder
> (moving it to a subfolder didn't seem to fix anything). Do I need to
> write a rewrite rule to accomodate for this or is there an easier way?
>
> Thanks in advance,
>
> Jason Wertz
> Senior Technology Specialist / WebMaster
> Delaware County Community College
> ph: 610-325-2771
> fax: 610-325-2820
> http://learn.dccc.edu/~jason
>
>
>
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
>