Google Answers Logo
View Question
 
Q: X-WAP-PROFILE header attribute problem ( No Answer,   2 Comments )
Question  
Subject: X-WAP-PROFILE header attribute problem
Category: Computers > Wireless and Mobile
Asked by: tommybe-ga
List Price: $40.00
Posted: 14 Dec 2005 12:14 PST
Expires: 13 Jan 2006 12:14 PST
Question ID: 605842
We have a co-located solaris 9 machine running Apache-Tomcat, MySQL,
and SSL. We just switched the domain from one to another this morning and
everything is working just fine. We also
installed an SSL certificate yesterday that works fine when browsing from a
pc/web but when using a mobile device it pops up and says this
certificate doesn't belong to this server. So I looked at the raw-http
feed and was able to see that the X-WAP-PROFILE attribute is still
being set to our old domain. I have searched the server and can't seem
to find where this is set. I did some research as to where it might be
set and couldn't get anything concreate. I need to find where this is
set and change it to the right domain.


Here is the raw-http feed:
<headers> ******************************************************************************
<headers> **************************** HTTP Request Headers
****************************
<headers> Host: new.com 
<headers> User-Agent: OPWV-SDK UP.Browser/7.0.2.3.119 (GUI) MMP/2.0 Push/PO 
<headers> Accept-Charset:
utf-8;q=1.0,big5;q=0.5,euc-jp;q=0.5,euc-kr;q=0.5,gb2312;q=0.5,gbk;q=0.5,iso-10646-ucs-2;q=0.5,iso-2022-jp;q=0.5,iso-8859-1;q=0.5,iso-8859-15;q=0.5,iso-8859-2;q=0.5,iso-8859-3;q=0.5,iso-8859-7;q=0.5,iso-8859-9;q=0.5,korean;q=0.5,ks_c_5601;q=0.5,ks_c_5601-1987;q=0.5,shift_jis;q=0.5,us-ascii;q=0.5,utf-16;q=0.5,utf-16be;q=0.5,utf-16le;q=0.5,windows-1252;q=0.5,windows-1253;q=0.5,windows-1254;q=0.5,wind
ows-1255;q=0.5,windows-1256;q=0.5,windows-1257;q=0.5,windows-1258;q=0.5,x-euc-jp;q=0.5,x-sjis;q=0.5
<headers> Accept-Language: en-GB; q=1.0, en; q=0.8 
<headers> X-Wap-Profile: "http://www.old.com/defaultFolder" 
<headers> Accept-Encoding: deflate,gzip 
<headers> Accept: application/smil, application/vnd.oma.drm.content,
application/vnd.oma.drm.message, application/vnd.oma.drm.rights+wbxml,
application/vnd.oma.drm.rights+xml,
application/vnd.phonecom.mmc-wbxml, application/vnd.phonecom.mmc-xml,
application/vnd.wap.connectivity-wbxml,
application/vnd.wap.mms-message, application/vnd.wap.multipart.mixed,
application/vnd.wap.multipart.related,
application/vnd.wap.wmlc;type=4365, application/vnd.wap.wmlscriptc,
application/vnd.wap.xhtml+xml,
application/xhtml+xml;profile="http://www.wapforum.org/xhtml",
image/bmp, image/gif, image/jpeg, image/png, image/vnd.wap.wbmp,
multipart/mixed, multipart/related, text/html, text/plain,
text/vnd.wap.connectivity-xml, text/vnd.wap.wml;type=4365,
image/svg+xml, image/pjpeg, application/x-shockwave-flash,
image/x-vnd.openwave.lzrw1, application/vnd.openwave.svg,
text/vnd.sun.j2me.app-descriptor, application/java-archive,
application/java, application/vnd.oma.dd+xml, image/ems, audio/wav,
audio/x-wav, audio/midi, audio/x-midi
<headers>  
<headers> ******************************************************************************
Answer  
There is no answer at this time.

Comments  
Subject: Re: X-WAP-PROFILE header attribute problem
From: aolmos-ga on 04 Jan 2006 09:37 PST
 
Hi,

This command uses a lot of resources, but may solve your problem.
Use it at your own risk.

This command will find a string inside any text file in the current
directory or deeper:
find . -type f -exec grep -li x-wap-profile '{}' \;

To search your whole system for the string X-WAP-PROFILE:
cd /find . -type f -exec grep -li x-wap-profile '{}' \;

Be careful if you search the whole system, depending on its size and if
there are automounts it may take a very long time.

It will output filenames that contain x-wap-profile, and case doesn't matter.

I assuming the string occurs in a regular text file and not a binary file.
Subject: Re: X-WAP-PROFILE header attribute problem
From: aolmos-ga on 04 Jan 2006 09:38 PST
 
That should read:
To search your whole system for the string X-WAP-PROFILE:
cd /

find . -type f -exec grep -li x-wap-profile '{}' \;

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy