rejetto forum

HFS and RelayTCP

0 Members and 1 Guest are viewing this topic.

Offline WhereEaglesDare

  • Occasional poster
  • *
    • Posts: 17
    • View Profile
Has anyone used RelayTCP is combination with HFS and sTunnel to automatically forward from port 80 to 443?  Does it work with XP/Vista?


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
why do you need such forward?
it doesn't sound good to me.
explain what you trying to get.


Offline WhereEaglesDare

  • Occasional poster
  • *
    • Posts: 17
    • View Profile
I would like my domain at http://*****.org to forward to the HTTPS://****.org when the unsecured is requested.  I have tried to do that Dual Instances of HFS with no luck.  I put two separate templates, files systems, etc in two separate folders but always pulls up one of the other, not two separate HFSes.  I want two so that one would be the welcome page.  I was trying to find a way around that.  I read the walk through when I was reading about sTunnel, it just wouldn't work for me.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
since HFS is already listening on 80, and stunnel on 443, you actually need nothing else.... but a script ;)

[+request]
{.if|{.%ip% != 127.0.0.1.}|{:{.add header|location: https://%host%.}:}.}

this script will sadly work only since next version, because of a bug.
you will have to wait for it.