logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: httpd.cnfg, format of "AddType application/"
Author
takfuji



Joined: 09 Mar 2016
Posts: 7
Location: JP

PostPosted: Wed 09 Mar '16 13:38    Post subject: httpd.cnfg, format of "AddType application/" Reply with quote

Newbie here, be kind please.

Been using other http daemon for years, and changed to Apache 2.4 recently.
Am confused on writing "AddType application/" lines in httpd.cnfg for, say, .xls, .xlsx, .doc, or .docx files, to be downloaded by client normally.
Searched in web sites but they are not consistent.

Now, for example, which of those five lines is correct?
a) AddType application/microsoft .doc
b) AddType application/msword .doc
c) AddType application/ms-word .doc
d) AddType application/vnd.msword .doc
e) AddType application/vnd.ms-word .doc

Similar question for .xls, .xlsx and so on.
It wold be great if the cross-refference table for those filetypes is introduced.
Thanks.
Tak Rolling Eyes
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7355
Location: Germany, Next to Hamburg

PostPosted: Wed 09 Mar '16 18:36    Post subject: Reply with quote

Most of them are in https://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types
Back to top
takfuji



Joined: 09 Mar 2016
Posts: 7
Location: JP

PostPosted: Thu 10 Mar '16 2:31    Post subject: Reply with quote

Thanks, James.
The refered page resolved my question.
Tak
(Been in Humburg for three months in 2000.)
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7355
Location: Germany, Next to Hamburg

PostPosted: Fri 11 Mar '16 18:09    Post subject: Reply with quote

Dōitashimashite!

I hope you liked Hamburg
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 1264
Location: Amsterdam, NL, EU

PostPosted: Fri 11 Mar '16 20:57    Post subject: Reply with quote

http://www.livinglanguage.com/community/discussion/315/saying-youre-welcome-in-japanese-not-recommended/p1 ...
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7355
Location: Germany, Next to Hamburg

PostPosted: Tue 15 Mar '16 19:08    Post subject: Reply with quote

Jan-E wrote:
http://www.livinglanguage.com/community/discussion/315/saying-youre-welcome-in-japanese-not-recommended/p1 ...


baka gaijin bonus for me Wink
Back to top


Reply to topic   Topic: httpd.cnfg, format of "AddType application/" View previous topic :: View next topic
Post new topic   Forum Index -> Apache