HTTPS to HTTP Redirect

Reply
Highlighted
L4 Transporter

HTTPS to HTTP Redirect

HI Team,

 

Is it possible to redirect the traffic from HTTPS to HTTP.

 

As my webserver is using  HTTP. We outside user connect it's  https://abc.com it's should be redirect to http://abc.com.

 

Please advice

 

Highlighted
Cyber Elite

Hi there.

 

This is done by the web server and NOT by the PANW FW.

 

There are multiple google search results for how to do this.

I did a quick search and here is what I found.  Note that this is not a FW function, but your own web developer to make this change in their code. 

 

o redirect your website from HTTPS to HTTP, add the following rule in your website’s .htaccess file:

# Redirect HTTPS to HTTP
RewriteCond %{HTTP:X-Forwarded-Proto} =https
RewriteRule ^(.*)$ http://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

 

Help the community: Like helpful comments and mark solutions
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!