[Zope] .html extensions

Farrell, Troy troy.farrell@wilcom.com
Tue, 13 Mar 2001 09:13:04 -0600


When I have a need for an extension (ie serving files for download), I tend
to do this for a log file:

/path/to/logfile?ext=.log

IE4 and IE5 will try to guess mime types and if they fail, they look at the
extension.  The reason for the above notation is to make the object usable
in Python, but to help IE figure out what I mean.

Troy.

I'd like to take this opportunity to thank everyone on the list who helps me
with Zope and my many difficulties.  Not many mailing lists are this
helpful.

-----Original Message-----
From: Tino Wildenhain [mailto:tino@wildenhain.de]
Sent: Tuesday, March 13, 2001 8:10 AM
To: Philippe J
Cc: zope@zope.org
Subject: Re: [Zope] .html extensions


Hi Philippe,

the only reason for .html endings would be for editors to guess the
filetype from it. To link to /index.html is kind of silly even for 
"regular" web-servers (like apache).
One goal of zope was to get "nice" URLs ;)

Regards
Tino

Philippe J wrote:
> 
> I simply solved the problem by placing a dtml method called "index.html"
in
> root, and with "<dtml-var index_html>" in it. With the magic of
acquisition,
> I have now an index.html file everywhere.
> 
> Philippe
> 
> ----- Original Message -----
> From: "Chris Cioffi" <zope@stopthesanity.org>
> To: <zope@zope.org>
> Sent: Monday, March 12, 2001 6:10 PM
> Subject: [Zope] .html extensions
> 
> > Hi all,
> >
> > way back I saw a reference on how to make it look like Zope objects end
in
> > '.html'.  This can be important for getting into search engines.  I've
got
> > Apache proxying back to Zope, so I thought that mod_rewrite would be my
> > friend, however Zope still generates URLs w/o the .html.
> >
> > Any help would be great.  Thanks.
> >
> > Chris
> >
> >
> > _______________________________________________
> > Zope maillist  -  Zope@zope.org
> > http://lists.zope.org/mailman/listinfo/zope
> > **   No cross posts or HTML encoding!  **
> > (Related lists -
> >  http://lists.zope.org/mailman/listinfo/zope-announce
> >  http://lists.zope.org/mailman/listinfo/zope-dev )
> >
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )

_______________________________________________
Zope maillist  -  Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )