Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Redirect all http Requests to https with 301 #28

Closed
enderulusoy opened this issue Dec 13, 2017 · 2 comments
Closed

Redirect all http Requests to https with 301 #28

enderulusoy opened this issue Dec 13, 2017 · 2 comments
Labels
configuration help The issue is related with the product configuration

Comments

@enderulusoy
Copy link

How can I achieve this? I want to redirect all http requests to https with 301 moved permanently.

@emiliocampos-zevenet
Copy link
Contributor

Not supported in webgui, only in command line

1 Configure the desired redirect in webgui
2 Open the configuration file for the given farm
3 Find the Redirect Directive and enter after this directive the Redirect code.

Restart the farm from webgui.

@cano-devel cano-devel added the configuration help The issue is related with the product configuration label Jun 26, 2019
@elg0ch0
Copy link

elg0ch0 commented Feb 1, 2021

Hi,

Is this valid for any version? (Zevenet Version: 5.0.8)

My current redirect looks like this:
Redirect "https://mydomain.com" 301
but:

curl -I -X GET http://mydomain.com
HTTP/1.0 302 Found
Location: https://mydomain.com
Content-Type: text/html
Content-Length: 158

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
configuration help The issue is related with the product configuration
Projects
None yet
Development

No branches or pull requests

4 participants