<% Z::set_settings( "title" => "MIME-type Configuration", "help" => "/apps/web/docs/modules/mime/index.html", "base" => "modules!mime" ); $::f{back} = "/apps/web/modules.ahtml?server=$::f{server}" if( !defined $::f{back} ); %> <% Z::parse( "../../etc/editheader.ahtml" ) %>

MIME types provide a standard, cross platform method of referring to the many different media formats currently in use. This module provides a mapping from filename extension to MIME-type.


Default Type
This is the mime type that will be used for files that do not have an extension found in the table below. <%= Z::form( target=>$::f{back} ) %>
Default type: " name=!default>
<%= Z::endform() %>
Registered Mime Types
<%= Z::form( ) %> <%= ( grep /^\!types\!/, keys %::f ) and Z::form_table( key=>"Extension", value=>"MIME Type", base=>"types" ) or "No mime types are currently defined" %>

Add MIME Type:

File extension:
MIME type:
<%= Z::endform() %>
<% Z::parse( "../../etc/footer.ahtml" ) %>