Community
DWF
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

DWFx and MIME setting

7 REPLIES 7
Reply
Message 1 of 8
Anonymous
2069 Views, 7 Replies

DWFx and MIME setting

I'm having a problem when I browse to a DWFx file that's located on the company intranet. I receive a message asking if I want to open or save the zip file. (DWF files open correctly) I saw information on Beyond the Paper to set the mime setting to model/vnd.dwfx+xps. I passed this information over to the team that operates the server and they tell me they have this setting in place but it's still not working. I believe the files are on an Apache server. Can someone confirm this is the correct mime setting for an Apache server or offer any other recommendations?

Rhett Blair
7 REPLIES 7
Message 2 of 8
Anonymous
in reply to: Anonymous

In this case, you might have to change the way your browser handles
these types of files. May I ask you what the desired browser behavior
is? Is this IE7 and you'd like to view DWFx natively using the XPS
capabilities? Or are you trying to use Design Review?

Yours,
Gyuri

rhettb@us.ibm.com wrote:
> I'm having a problem when I browse to a DWFx file that's located on the
> company intranet. I receive a message asking if I want to open or save
> the zip file. (DWF files open correctly) I saw information on Beyond the
> Paper to set the mime setting to model/vnd.dwfx+xps. I passed this
> information over to the team that operates the server and they tell me
> they have this setting in place but it's still not working. I believe
> the files are on an Apache server. Can someone confirm this is the
> correct mime setting for an Apache server or offer any other
> recommendations? Rhett Blair
Message 3 of 8
Anonymous
in reply to: Anonymous

I'm using IE6 which is the default browser installed on our company computers. DWF files open correctly via Design Review inside of the browser. When I try to browse to a DWFx file I'm prompted to open or save the zip file. Volker Joseph had a post about this back in 2007 at http://dwf.blogs.com/beyond_the_paper/2007/03/launch_of_dwfx_.html that describes my problem and the fix was to add model/vnd.dwfx+xps as a mime type on the server, depending on the type of server. My files are located on an Apache server and I'd like to be able to provide the correct setting to the person that operates the server, but I'm not sure what that setting is for the Apache server.

Rhett Blair
Message 4 of 8
Anonymous
in reply to: Anonymous

After looking at various sites with the same problem, altough not dwfx,
but other file formats, I can only think of one thing: it's a local
issue; you might have to reinstall Design Review. To verify this, you
might want to try to check the same file on a different machine.

Sorry for not being able to get any further than this...

Gyuri

rhettb@us.ibm.com wrote:
> I'm using IE6 which is the default browser installed on our company
> computers. DWF files open correctly via Design Review inside of the
> browser. When I try to browse to a DWFx file I'm prompted to open or
> save the zip file. Volker Joseph had a post about this back in 2007 at
> http://dwf.blogs.com/beyond_the_paper/2007/03/launch_of_dwfx_.html that
> describes my problem and the fix was to add model/vnd.dwfx+xps as a mime
> type on the server, depending on the type of server. My files are
> located on an Apache server and I'd like to be able to provide the
> correct setting to the person that operates the server, but I'm not sure
> what that setting is for the Apache server. Rhett Blair
Message 5 of 8
Anonymous
in reply to: Anonymous

I've reinstalled Design Review and tested this on several other computers. I think it's got to be the mime setting. I found this link on the web that links to a dwfx file and it open correctly: http://www.xanadu.cz/dl/ByggingaPlan-Xanadu.dwfx. I counting on someone that monitors this forum knowing the correct mime setting for an Apache server.
Message 6 of 8
Anonymous
in reply to: Anonymous


The person that operates the Apache server should
know how to set a MIME type on Apache. It varies on each server, but Apache has
a UI that will allow him to do it. The important part is that the MIME type is
add model/vnd.dwfx+xps and the
extension is .dwfx.


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
I'm
using IE6 which is the default browser installed on our company computers. DWF
files open correctly via Design Review inside of the browser. When I try to
browse to a DWFx file I'm prompted to open or save the zip file. Volker Joseph
had a post about this back in 2007 at
http://dwf.blogs.com/beyond_the_paper/2007/03/launch_of_dwfx_.html that
describes my problem and the fix was to add model/vnd.dwfx+xps as a mime type
on the server, depending on the type of server. My files are located on an
Apache server and I'd like to be able to provide the correct setting to the
person that operates the server, but I'm not sure what that setting is for the
Apache server. Rhett Blair
Message 7 of 8
Anonymous
in reply to: Anonymous

One more possibility is that besides the Mime type, there should be some
other settings that should be either set or unset on your server.

during my investigations I've found that the setting of the HTTP headers
(that can be configured in Apache) is pretty important. I'll paste in a
couple of examples of how the HTTP headers of dwfx files look like that
IE was able to display inline:

The file you've mentioned has the following headers:

HTTP/1.1 200 OK
Content-Length: 156322
Content-Type: application/octet-stream
Last-Modified: Tue, 08 Apr 2008 06:08:28 GMT
Accept-Ranges: bytes
ETag: "5c7c5cf63e99c81:4ea"
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Date: Fri, 09 Jan 2009 19:11:04 GMT



One of our internal servers has the following headers:

HTTP/1.1 200 OK
Cache-Control: public,max-age=1728000
Content-Length: 5753583
Content-Type: model/vnd.dwfx+xps
Last-Modified: Fri, 19 Dec 2008 00:49:43 GMT
Accept-Ranges: bytes
ETag: "69b75cae7361c91:32c8"
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Date: Fri, 09 Jan 2009 19:15:14 GMT


I've used the freely available tool called Fiddler to get these. Also, I
do understand that both of these servers are IIS, not Apache.

Please work with your web administrator to make sure that your headers
are correct. It is possible that you should try to set the Content Type
header instead of the MIME type.

It is also possible, that there is an extra header, like Content
Disposition that might cause the problem.

Other than the headers, there can be still multiple issues that can
prevent IE from opening your file, for example in the Tools/Internet
Options, in the Advanced tab, the "Enable Third Party Extensions" should
be checked [though the browser already opens DWF files, so this one is
not likely :)]

Another possibility is that a SpyWare filter is preventing that file to
open inline.

This is as far as I can go without seeing your HTTP headers, File type
associations, and Windows registry. 🙂

I'm also still wondering, if you have the same problem on all the
computers around you, or is this problem only isolated to your computer.

Thank you,
Yours,
Gyuri Ordody

rhettb@us.ibm.com wrote:
> I've reinstalled Design Review and tested this on several other
> computers. I think it's got to be the mime setting. I found this link on
> the web that links to a dwfx file and it open correctly:
> http://www.xanadu.cz/dl/ByggingaPlan-Xanadu.dwfx. I counting on someone
> that monitors this forum knowing the correct mime setting for an Apache
> server.
Message 8 of 8
Anonymous
in reply to: Anonymous

It's working now, the Apache web admin added the following mime types:

model/vnd.dwf dwf
model/vnd.dwfx dwfx

Thanks to all for the suggestions.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Forma Design Contest


Autodesk Design & Make Report