ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: text/vnd.wap.wml error



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 mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.