I have a mobile website that is working fine on one domain. I have a second domain that actually points to the exact same folder on the server and I get the 51Degrees Mobile Home Page that give the device specs. It's been months since I started this project.
Did I set a domain someplace so it acts differently between the two domains? If I did, I don't remember.
51Degrees support may have a better solution, but the way I got this to work is to make sure the Web.config in BOTH sites has the 51Degrees sections. Also, the Bin folder in BOTH sites contains the Detector.dll and FiftyOne.Foundation.dll files.
The only other think I can think of is to review the <fiftyOne> section in your Web.config and make sure the setting in the <redirect> section are set up to work on both sites.
dgerler
Member
3 Points
36 Posts
Mobile site getting 51Degrees Mobile Home Page instead of Login
Jun 20, 2012 02:59 PM|LINK
I have a mobile website that is working fine on one domain. I have a second domain that actually points to the exact same folder on the server and I get the 51Degrees Mobile Home Page that give the device specs. It's been months since I started this project.
Did I set a domain someplace so it acts differently between the two domains? If I did, I don't remember.
AZMatt
Star
10652 Points
1898 Posts
Re: Mobile site getting 51Degrees Mobile Home Page instead of Login
Jun 20, 2012 03:05 PM|LINK
51Degrees support may have a better solution, but the way I got this to work is to make sure the Web.config in BOTH sites has the 51Degrees sections. Also, the Bin folder in BOTH sites contains the Detector.dll and FiftyOne.Foundation.dll files.
Matt
dgerler
Member
3 Points
36 Posts
Re: Mobile site getting 51Degrees Mobile Home Page instead of Login
Jun 20, 2012 05:41 PM|LINK
Both sites are using the same folder. So if the file is in one, it's in the other.
AZMatt
Star
10652 Points
1898 Posts
Re: Mobile site getting 51Degrees Mobile Home Page instead of Login
Jun 20, 2012 06:54 PM|LINK
The only other think I can think of is to review the <fiftyOne> section in your Web.config and make sure the setting in the <redirect> section are set up to work on both sites.
Matt