Foskill
Foskill

Reputation: 81

How to add .dat type to apache mime.types?

In my limited experience with Centos8 & Apache, i find /etc/mime.types, its empty, how can i add .dat type to this file? Thanks in advance.

<IfModule mime_module>
    TypesConfig /etc/mime.types
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz
    AddType text/html .shtml
    AddOutputFilter INCLUDES .shtml
    AddType application/x-httpd-php .php .phtml
    AddType application/x-httpd-php-source .phps
</IfModule>

Upvotes: 0

Views: 3181

Answers (1)

Pandurang
Pandurang

Reputation: 1741

Use AddType application/dat .dat mime types and test.

Upvotes: 1

Related Questions