Forum Moderators: phranque

Message Too Old, No Replies

addtype but to set any type to some mime

         

mcrosoft

2:48 am on Jul 9, 2005 (gmt 0)

10+ Year Member



hello again,

i know, with addtype i can change the mime-type handling.

is there a possibility to change the mime-type for all file types so that even html files are served as download and not viewed in the browser?

its a directory i want to protect, where i want offer .php files for download and other files which normally get executed.

maybe this is possible with just one line?

thanks, people!

encyclo

5:27 pm on Jul 10, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You can probably do this with ForceType:

[httpd.apache.org...]