View Single Post
  #102  
Old 10-17-2013, 05:14 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: xMobile - Smartphone mobile template

Quote:
Originally Posted by DavyMac
I hope that you get more info from your host than I did - my host was unable to explain how to set the vary header.

My host (Hands-on) WAS able to explain...

It is a default setting in Hand-on VPS' Apache mod_headers config

My server IS sending Vary: User-Agent in the headers.

Your host can add this to the headers and we don't need xMobile to go there.
In my opinion, now that I fully understand what is going on, this SHOULD be a server configuration, and not the template.

I think xMobile should explain in the installation docs what is needed, and then provide some resources so you can have your host set this up.

Will, if you are reading this, I urge you NOT to add this function to xMobile, and instead to DISCUSS the server configuration that is required. This is NOT a template function. I'm glad I spent the time investigating this.
J
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote