diff options
| author | Nathan Kinder <nkinder@redhat.com> | 2015-03-14 10:00:51 -0700 |
|---|---|---|
| committer | Nathan Kinder <nkinder@redhat.com> | 2015-03-14 10:13:43 -0700 |
| commit | bd10f81c2ba0615ee77ab2ef3613dc242dbb0899 (patch) | |
| tree | e140a0f1f5caa34590a6cf3f45a73110222f6c71 /templates | |
| parent | 22e983978fcbd84896468017dd5bdacf8a18cf3c (diff) | |
| download | ipsilon-ticket_92.tar.gz ipsilon-ticket_92.tar.xz ipsilon-ticket_92.zip | |
Allow SP installation to be on non-standard portsticket_92
When setting up a SP using ipsilon-client-install, there is no
ability to use a non-standard port. We should allow a port number
to be specified that results in the proper URLs in the SP metadata.
This patch adds a --port option to ipsilon-client-install. This is
used in the construction of the URLs used in the SP metadata as well
as in the httpd redirect rules if httpd is being configured.
https://fedorahosted.org/ipsilon/ticket/92
Signed-off-by: Nathan Kinder <nkinder@redhat.com>
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/install/saml2/sp.conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/install/saml2/sp.conf b/templates/install/saml2/sp.conf index d7872cc..a7adaf9 100644 --- a/templates/install/saml2/sp.conf +++ b/templates/install/saml2/sp.conf @@ -30,5 +30,5 @@ ${sp}</Directory> # Redirect requests to the secure port ${ssl_rewrite}RewriteEngine on -${ssl_rewrite}RewriteCond %{SERVER_PORT} !^443$$ -${ssl_rewrite}RewriteRule ^${saml_base}(.*) https://${sp_hostname}${saml_base}$$1 [L,R=301,NC] +${ssl_rewrite}RewriteCond %{SERVER_PORT} !^${ssl_port}$$ +${ssl_rewrite}RewriteRule ^${saml_base}(.*) https://${sp_hostname}${sp_port}${saml_base}$$1 [L,R=301,NC] |
