cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP to HTPPS

SOLVED
Highlighted
Occasional Contributor

HTTP to HTPPS

Hi all,

I would like to take out a doubt in the following situation:

1 - I have a Virtual Server that receives connections from port 80 (http) for a particular service.

2 - In order to provide secure access via port 443 (https) for the same service in the STM layer, like that all requests made to http://xxx.com/yyy is, redirected to another Virtual Server, keeping the domain and context the request.

3 - That is just like changing http to https in the STM layer! is possible?

Thanks

2 REPLIES
Contributor

Re: HTTP to HTPPS

Take a look at one of the examples provided by Owen Garrett HowTo: Redirect HTTP clients

Occasional Contributor

Re: HTTP to HTPPS

Hi David

Thanks for the reply, the line below in rule solved my problem.

# Example: Force client to https (assuming this rule is attached to an HTTP virtual server)

http.changeSite ("https://" http.getHostHeader ().);