Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IWBootstrap app and Apache
#4
(10-23-2019, 09:36 AM)troberts Wrote:
(10-22-2019, 08:07 AM)Alexandre Machado Wrote: How does it switch from desktop to mobile? Is it based on the port?
I guess it's based on the browser type. All I did was take one of the sample IWBootstrap applications. When I browse to locally it from my PC it renders in desktop mode and when I browse to it (locally) on my phone it renders in mobile mode. But when accessing it from outside via Apache it only renders in desktop mode no matter what the client is. The reverse proxy functionality in Apache must not be passing on whatever is needed to make it switch to mobile mode.
I can confirm that it's not on the browser type. I tried displaying the browser name and it correctly reports "Chrome Mobile" whether I browse to the site directly via the LAN IP address, or from outside via the Apache server. My next line of thinking is that the bootstrap application must decide how to render the output based on the screen resolution. If this is the case then perhaps the reported resolution is being changed as it passes through the Apache server. I'm going to do some tests to determine whether it is or not.
Reply


Messages In This Thread
IWBootstrap app and Apache - by troberts - 10-20-2019, 09:01 AM
RE: IWBootstrap app and Apache - by troberts - 10-23-2019, 09:36 AM
RE: IWBootstrap app and Apache - by troberts - 10-24-2019, 06:50 PM
RE: IWBootstrap app and Apache - by kudzu - 10-25-2019, 03:52 PM
RE: IWBootstrap app and Apache - by troberts - 10-25-2019, 05:57 PM
RE: IWBootstrap app and Apache - by Joao Lira - 10-27-2019, 12:58 PM
RE: IWBootstrap app and Apache - by kudzu - 10-28-2019, 04:27 PM
RE: IWBootstrap app and Apache - by troberts - 10-29-2019, 09:23 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)