Welcome to HostingForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

apache2 content type fro files without extension

 
   Web Hosting Problem Solving Community! (Home) -> Apache RSS
Next:  Online Ad Surf  
Author Message
MZ

External


Since: Jan 08, 2010
Posts: 2



(Msg. 1) Posted: Fri Jan 08, 2010 6:25 am
Post subject: apache2 content type fro files without extension
Archived from groups: alt>apache>configuration (more info?)

Hello!

Is it possible to serve content-type header based on files' content?
I've got a few files 000ecda6-c420-4189-8489-0b9cf635c102.
They can be images, mp3s, videos, pdfs and others. How can I serve
proper content type? I can't base on directory location neither extensions.

--
Pozdrawiam
Mateusz

 >> Stay informed about: apache2 content type fro files without extension 
Back to top
Login to vote
MZ

External


Since: Jan 08, 2010
Posts: 2



(Msg. 2) Posted: Fri Jan 08, 2010 11:25 am
Post subject: Re: apache2 content type fro files without extension [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

MZ pisze:
> Hello!
>
> Is it possible to serve content-type header based on files' content?
> I've got a few files 000ecda6-c420-4189-8489-0b9cf635c102.
> They can be images, mp3s, videos, pdfs and others. How can I serve
> proper content type? I can't base on directory location neither extensions.

http://httpd.apache.org/docs/2.0/mod/mod_mime_magic.html

--
Pozdrawiam
Mateusz
http://na-jawie.blogspot.com

 >> Stay informed about: apache2 content type fro files without extension 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> Apache All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]