What's new
Install the app
How to install the app on iOS

Follow along with the video below to see how to install our site as a web app on your home screen.

Note: This feature may not be available in some browsers.

Welcome to My Sharing Site

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Info XCIPTV 301 redirects

Info XCIPTV 301 redirects
Expire0 Offline

Expire0

New member

VIP Member
+Lifetime VIP
Member
Aug 8, 2020
39
86
18
Delaware
I figured I would post this information to save others some time. Here's the background.
I wanted to separate the XCIPTV panel from my primary web domain. I also wanted to do this without forcing users to upgrade the APK so I decided to setup a .htaccess file and redirect the APK/API to a new address . After spending hours thinking it was a server side issue. I have figured out its the way the XCIPTV app was coded . It has to be coded to follow the web redirects. I thought the web client class in the APK would follow the redirect by default which is does.
My problem is dead smack in the class definition

Response Handling​

HttpURLConnection will follow up to five HTTP redirects. It will follow redirects from one origin server to another. This implementation doesn't follow redirects from HTTPS to HTTP or vice versa.

I was trying to redirect from https to http . long story short, this idea is bad and will not work.

 
Relate Threads

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Top Posters of the Month

Online statistics

Members online
99
Guests online
484
Total visitors
583
Top