Results 1 to 2 of 2

Thread: Adding MIME Types through .htaccess

  1. #1

    Thumbs up Adding MIME Types through .htaccess

    If your server is not setup to deliver certain file types properly, commonly with MP3 or even SWF files. You can use MIME type.

    AddType application/x-shockwave-flash swf

    AddType is specifying that you are adding a MIME type. The application string is the actual parameter of the MIME you are adding, and the final little bit is the default extension for the MIME type you just added, in our example this is swf for ShockWave File.
    Regards,
    [B][I]PRavin R[/I][/B]

  2. #2
    Join Date
    Nov 2005
    Posts
    23

    Default

    Hello,

    Some more here...
    if you have php 5 installed then you can use
    AddType application/x-httpd-php .php5

    for .wml file use as per below in your httpd.conf file.

    AddType text/vnd.wap.wml .wml
    Addhandler application/x-httpd-php .wml
    You will have to restrat apache in that case..

    Enjoy..

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •