Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FireFox, IE, Apache, mimetypes

Status
Not open for further replies.

tgreer

Programmer
Oct 4, 2002
1,781
US
If this isn't the correct forum, please redirect me. I'm having some issues with FireFox, and don't really know where the problem lies. I suspect improper mimetypes, but that's just a guess.

Two problems, one with Acrobat FDF files, the other with XML/XSLT.

Two servers: tgreer.com is Apache, tgreer.net is IIS.

Links to the files:


In IE, these work just fine. The fdf is served, opened with Acrobat, which then retrieves the PDF.

In FireFox, the FDF is displayed as a text file.

The XML/XSLT file:


As always, all help is appreciated. I'm looking for any insights into the issue.

Thomas D. Greer

Providing PostScript & PDF
Training, Development & Consulting
 
Thomas,

Although it has no effect on your problem i'd thought I let you know anyway.

IE6 (with script debugging to ON) I get an error on the line in the xslt:

onLoad="makeColumns() (body onload event)

The error says that the Object could not be found (translated from Dutch.)

----

Something else: I downloaded the XML and style sheet to run it locally and i cannot reproduce the problem, leading me to think that it has something to do with your Apache server.

In Firefox, however, I got one long string but in IE it was nicely spaced.


good luck
 
I'd post this in the Apache Forum (forum65). It does appear to be a problem with your MIME types, as the fdf file is being given the type 'text/plain'. There is an 'AddType' directive you can use in Apache's config file to fix this, see the documentation for more info.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top