text/vnd.wap.wml error
Maxim Dounin
mdounin at mdounin.ru
Fri Jan 11 09:25:27 UTC 2013
Hello!
On Fri, Jan 11, 2013 at 09:55:38AM +0530, Arun Tewatia wrote:
> Hi all,
>
> I am using Nginx as reverse proxy in production with Windows based web servers ( IIS7 ) for my search engine website.
> I am frequently facing an issue that my html web pages start getting downloaded instead of opening in browser.
> I tried settings*more_set_headers* in Nginx but still the error isn't resolved.
> The page works fine if I bypass the Nginx proxy.
> The Nginx header works fine for explicit wml pages but still I receive "text/vnd.wap.wml" as content type for some of my html pages.
>
> I am using nginx/1.2.4 with following line added under http block.
>
> more_set_headers -t 'text/vnd.wap.wml' 'Content-Type: text/html';
>
> What could be going wrong ? Am I missing something ?
The root question is "why text/vnd.wap.wml is returned"? I would
recommend you to focus on this instead of trying to "fix" this in
nginx by changing headers returned.
--
Maxim Dounin
http://nginx.com/support.html
Подробная информация о списке рассылки nginx-ru