For me I never use HTTP since it allows users to send password unsecured over the internet. I would like to see the option to forward HTTP requests to the HTTPS port (whatever port that has been setup in the software). Currently I have to set the HTTP server to a nonstandard port, then install IIS and use it just to do a simple redirect.
BTW - Still an AWESOME PRODUCT!!!
Damian
HTTP Redirect to HTTPS
HTTP Redirect to HTTPS
Damian C. Stalls
Senior IT Engineer
Senior IT Engineer
Re: HTTP Redirect to HTTPS
I have found an alternative to installing IIS (as I really do not like that resource hog installed on my system). Please note that this will only work if you are using the standard port 443 for your HTTPS connections.
1. Open the following file in notepad "C:\Programs Files (x86)\TSplus\Clients\www\template.html"
2. Please search for the original code shown below and change accordingly:
[ORIGINAL CODE]
<script type="text/javascript" src="software/java/third/sha256.js"></script>
<script type="text/javascript">
// --------------- Page Configuration ---------------
var page_configuration = new Array();
[NEW CODE]
<script type="text/javascript" src="software/java/third/sha256.js"></script>
<script type="text/javascript">
// --------------- Custom Configuration ---------------
var loc = window.location+'';
if (loc.indexOf('http://')==0){
window.location.href = loc.replace('http://','https://');
}
// --------------- End of Custom Configuration ---------------
// --------------- Page Configuration ---------------
var page_configuration = new Array();
While this works, I would still prefer the option in the TSplus webserver to force HTTP connections automatically to the configured HTTPS port.
Damian
1. Open the following file in notepad "C:\Programs Files (x86)\TSplus\Clients\www\template.html"
2. Please search for the original code shown below and change accordingly:
[ORIGINAL CODE]
<script type="text/javascript" src="software/java/third/sha256.js"></script>
<script type="text/javascript">
// --------------- Page Configuration ---------------
var page_configuration = new Array();
[NEW CODE]
<script type="text/javascript" src="software/java/third/sha256.js"></script>
<script type="text/javascript">
// --------------- Custom Configuration ---------------
var loc = window.location+'';
if (loc.indexOf('http://')==0){
window.location.href = loc.replace('http://','https://');
}
// --------------- End of Custom Configuration ---------------
// --------------- Page Configuration ---------------
var page_configuration = new Array();
While this works, I would still prefer the option in the TSplus webserver to force HTTP connections automatically to the configured HTTPS port.
Damian
Damian C. Stalls
Senior IT Engineer
Senior IT Engineer
Re: HTTP Redirect to HTTPS
This re-direct doesn't work for me?
My Standard port is 443 for HTTPS and the port for HTTP is 8081. Does my HTTP port have to be 8080 for this to work properly?
My Standard port is 443 for HTTPS and the port for HTTP is 8081. Does my HTTP port have to be 8080 for this to work properly?
Re: HTTP Redirect to HTTPS
The patch given by DamianS will work fine, however you have to apply it not only in the template.html file but also for your current web access page (usually the index.html file located in C:\Program Files (x86)\TSplus\Clients\www ).
The template.html file will only be used if you re-generate your web access page using our Webmaster Toolkit
var loc = window.location+'';
if (loc.indexOf('http://')==0){
loc = loc.replace('http://','https://');
window.location.href = loc.replace(':8080','');
}
The template.html file will only be used if you re-generate your web access page using our Webmaster Toolkit
var loc = window.location+'';
if (loc.indexOf('http://')==0){
loc = loc.replace('http://','https://');
window.location.href = loc.replace(':8080','');
}
Olivier
TSplus support team administrator
TSplus support team administrator
Re: HTTP Redirect to HTTPS
Please, tell me how can I redirect to port 8443 ?
Thanks!
Thanks!
Re: HTTP Redirect to HTTPS
Hello,
You will find this information here : tsplus.net/support/kb/faq.php?id=6
You will find this information here : tsplus.net/support/kb/faq.php?id=6
Olivier
TSplus support team administrator
TSplus support team administrator