Self Service Redirect to HTTPS

From support-works
Revision as of 11:19, 9 February 2018 by Pamelal (talk | contribs) (Created page with "{{Template:Basic Cover | title=Self Service Redirect to HTTPS | type=FAQ }} {{Template:Basic Status | status=Published | version=1.0 | authors=Hornbill Support | applicableto...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search



Status: Published
Version: 1.0
Authors: Hornbill Support
Applies to: Supportworks ITSM 4.x

If you prefer you could re-direct http to https for Self service. This could also be applied to the web client. You will need to edit the file in ..\Hornbill\Core Services\Apache\conf\cs\core\501_vhosts.conf.

Initially you may be tempted to use the following:

<VirtualHost _default_:80>
RewriteEngine On
RewriteRule (.*/webclient/) https://<servername>/sw/webclient
RewriteRule (.*/selfservice/) https://<servername>/sw/selfservice
Include \"conf/cs/apps/*.conf\"
</VirtualHost>

In actual fact the best option is to use this as it takes out the requirement for having fixed paths:

<VirtualHost _default_:80>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*/webclient/) https://%{HTTP_HOST}:443%{REQUEST_URI}
RewriteRule (.*/selfservice/) https://%{HTTP_HOST}:443%{REQUEST_URI}
Include \"conf/cs/apps/*.conf\"
</VirtualHost>