Mime Type

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Mime Type

Postby siljo » 18. December 2006 19:16

I need mime type codes for .jar and .sis and .3gp files!
Can somebody help me :oops:
siljo
 
Posts: 14
Joined: 14. December 2005 00:09

Re: Mime Type

Postby Izzy » 18. December 2006 21:36

siljo wrote:I need mime type codes for .jar and .sis and .3gp files!
Can somebody help me :oops:

Then add them into the xampp\apache\conf\mime.types file using your text editor. Save the file then restart Apache.
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Re: Mime Type

Postby siljo » 19. December 2006 15:57

Izzy wrote:
siljo wrote:I need mime type codes for .jar and .sis and .3gp files!
Can somebody help me :oops:

Then add them into the xampp\apache\conf\mime.types file using your text editor. Save the file then restart Apache.


I dont know what to add!I dont know the parameters :oops:
siljo
 
Posts: 14
Joined: 14. December 2005 00:09

Postby Izzy » 19. December 2006 22:48

Try adding these in the nearest section in the mime.types file:

application/java-archive jar
application/x-java-archive jar

video/3gpp 3gp
video/3gpp mp4

application/octet-stream sisx
application/vnd.symbian.install sis


For example add the first 2 types between the types I have outlined in red that are already in the file:
application/isup
application/java-archive jar
application/mac-binhex40 hqx

application/x-hdf hdf
application/x-java-archive jar
application/x-javascript js

This method keeps the list in alphabetical order.

If you are not concerned with sorting out the order then just add them to the bottom of the list.
Save the file after making your edits and then restart Apache.
Make a backup of the file before making any edits in case you make a typo. You can then revert to your backup if things go wrong.
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 160 guests