Welcome! Log In Create A New Profile

Advanced

Re: text/vnd.wap.wml error

Maxim Dounin
January 11, 2013 04:26AM
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@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

text/vnd.wap.wml error

Arun Tewatia January 10, 2013 11:26PM

Re: text/vnd.wap.wml error

Maxim Dounin January 11, 2013 04:26AM

Re: text/vnd.wap.wml error

Mamtesh Kumar January 15, 2013 07:03AM

Re: text/vnd.wap.wml error

Maxim Dounin January 20, 2013 06:04PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 174
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready