Support
How to Declare a PFR MIME Type In order
for users to view PFRs from their WebFont-enabled Web browsers,
system administrators must set up their Web servers to recognize
the PFR MIME type.
This document discusses the following topics.
MIME Type and File Extension
The MIME type is
application/font-tdpfr
The file extension is
pfr
If
Using the Windows NT 4 Server
If you are using the Windows NT 4.0 Server, use the IIS Server
Management Console to set the MIME type in the File Types area of
the server's Properties, as follows:
- Open your IIS Server Management Console.
- Select your server computer in the right pane.
- Select Properties in the left pane.
- Click File Types.
- For extension, enter pfr
- For MIME type, enter application/font-tdpfr
- Click OK until you can exit the IIS
Server Management Console.
- Reboot your NT IIS server.
If Using the Windows
NT 3.51 Server with an Older Version of IIS
If you are using the Windows NT 3.51 server with an older version
of IIS, you need to set the gopher type to 5:REG_SZ:
as follows:
- Save a back-up copy of the registry before making any changes
to it. See your NT IIS documentation for help with saving a backup
registry.
- Next, you use REGEDIT32 to set the
MIME type on an NT 3.51 server.
Note: Microsoft provides additional
help on setting MIME types.
- On Windows NT 3.51, IIS: open the registry using REGEDIT32.
- Under the key
HKEY_LOCAL_MACHINE/SYSTEM/ControlSet001/Services/
Inetinfo/Parameters/MimeMap,
add the following new key:
application/font-tdpfr,pfr,,5:REG_SZ:
Note: Create the MimeMap key if you do not have it.
Depending on the Web server, you or your system administrator
may have to enter the extension in uppercase or lowercase (or
both) and put a period before the extension.
- Exit and save the registry.
- Restart the server.
If
Using a Unix Web Server, such as Apache
If using a Unix Web server, you must first find the command your
server uses to add a MIME type. For example, on an Apache Web Server,
the command is:
Then use command parameters to add the application/font-tdpfr type
for the .pfr extension using one of the configuration files. For
example, on the Apache Web Server:
- Open the Apache configuration file httpd.conf
- Insert the following directive:
AddType application/font-tdpfr .pfr
The important information that you need to know is the
MIME type and the file extension. The specifics of how to add
this information varies, depending on your Web server software.
Many use the file mime.types. Check with
your vendor for details.
If you would like to find out more about the AddType
command, please check the documentation at http://www.apache.org
or at one of Apache's mirror sites.
<< back to support index
|