@massimo - I am serving it from the static folder with web2py. I see
that it was added to contenttype.py (although in the wrong place, w
comes before x :)
@jonathan - I added the entry to CONTENT_TYPE, restarted the app,
cleared Firefox's cache and...money.

Thanks!

On Dec 18, 2:25 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
> fixed now in trunk.
>
> On Dec 18, 1:52 pm, Jonathan Lundell <jlund...@pobox.com> wrote:
>
> > On Dec 18, 2009, at 11:48 AM, mdipierro wrote:
>
> > > How is it served? via default/download or via static? Which web2py
> > > version?
>
> > There's no w2p entry in CONTENT_TYPE.
>
> > > On Dec 18, 1:24 pm, "mr.freeze" <nat...@freezable.com> wrote:
> > >> When I host a .w2p file on Dreamhost, it tries to open in the browser
> > >> with Firefox, displaying garbled binary data on the screen. I have
> > >> tried this in my .htaccess file:
>
> > >> <Files *.w2p>
> > >>   ForceType application/octet-stream
> > >>   Header set Content-Disposition attachment
> > >> </Files>
>
> > >> ...and...
>
> > >> AddType application/octet-stream .w2p
>
> > >> ...with no luck.  Can I control this through web2py? Sorry if this has
> > >> been discussed already.

--

You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to