Skip to content

Commit

Permalink
Fixed Issue #15
Browse files Browse the repository at this point in the history
  • Loading branch information
malavolti committed Nov 27, 2019
1 parent 5d08c99 commit 2bee8a5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion roles/idp/templates/idp.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,10 @@
Require all granted
</Location>

RedirectMatch ^/$ {{ idp_metadata['en']['mdui_infoUrl'] }}
<If " %{REQUEST_URI} == '\/' && %{HTTP:Accept-Language} =~ /^it/">
RedirectMatch ^/$ {{ idp_metadata['it']['mdui_infoUrl'] }}
</If>
<Else>
RedirectMatch ^/$ {{ idp_metadata['en']['mdui_infoUrl'] }}
</Else>
</IfModule>

0 comments on commit 2bee8a5

Please sign in to comment.