rejetto forum
		Software => HFS ~ HTTP File Server => Topic started 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?
			
- 
				why do you need such forward?
 it doesn't sound good to me.
 explain what you trying to get.
- 
				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.
			
- 
				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.