rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: WhereEaglesDare on May 26, 2009, 07:47:53 PM

Title: HFS and RelayTCP
Post by: WhereEaglesDare on May 26, 2009, 07:47:53 PM
Has anyone used RelayTCP is combination with HFS and sTunnel to automatically forward from port 80 to 443?  Does it work with XP/Vista?
Title: Re: HFS and RelayTCP
Post by: rejetto on May 27, 2009, 02:38:35 PM
why do you need such forward?
it doesn't sound good to me.
explain what you trying to get.
Title: Re: HFS and RelayTCP
Post by: WhereEaglesDare on May 29, 2009, 08:56:57 PM
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.
Title: Re: HFS and RelayTCP
Post by: rejetto on May 30, 2009, 03:53:11 PM
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.