Answer the question
In order to leave comments, you need to log in
Why might AddType not work in htaccess?
They took hosting on Nic.ru and on files like mp3 mp4 and other similar ones - when you open a direct link to a file, it does not offer to download it, and the browser tries to play the file directly in the browser.
in one folder there are png logos that you also need to offer to download, so I added there (not yet the old hosting)
AddType application/octet-stream .png
- it worked on the old one, on the new one (nic.ru) no
I tried it like this
RemoveHandler .png
AddType application/octet-stream .png
has no effect either.
forcing AddType for Mp3 mp4 also has no effect.
until technical support can not get through, maybe someone will tell you what could be the matter?
Of course, I have an answer - the hosting settings are the same and the AddType directive is Disabled, but maybe I'm wrong.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question