Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
documentation:2.1:configvhost [2019/10/08 15:49]
xguimard [Add a floating menu] MR !96
documentation:2.1:configvhost [2019/10/15 21:58] (current)
cmaudoux [Options]
Line 296: Line 296:
   * Aliases: list of aliases for this virtual host //(avoid to rewrite rules,​...)//​   * Aliases: list of aliases for this virtual host //(avoid to rewrite rules,​...)//​
   * Type: handler type //(normal, [[documentation:​2.0:​servertoserver|ServiceToken Handler]], [[documentation:​2.0:​devopshandler|DevOps Handler]],​...)//​   * Type: handler type //(normal, [[documentation:​2.0:​servertoserver|ServiceToken Handler]], [[documentation:​2.0:​devopshandler|DevOps Handler]],​...)//​
-  * Authentication level required: this options avoid to reject user with a rule based on ''​$_authenticationLevel''​. When user hasn't the required level, he is redirected to an upgrade page in the portal+  * Authentication level required: this option avoids ​to reject user with a rule based on ''​$_authenticationLevel''​. When user hasn'​t ​got the required level, he is redirected to an upgrade page in the portal. This level is applied to ALL VirtualHost locations.
   * ServiceToken timeout: The Service Token is only available during 30 seconds by default. This TTL can be customized for each virtual host.   * ServiceToken timeout: The Service Token is only available during 30 seconds by default. This TTL can be customized for each virtual host.
 +
 +<note warning>
 +A same virtual host can serve many locations. Each location can be protected by a different type of handler :
 +
 +  server test1.example.com 80
 +    location ^/​AuthBasic ​ => AuthBasic handler
 +    location ^/​AuthCookie => Main handler
 +  ​
 +Keep in mind that AuthBasic handler use "​Login/​Password"​ to authenticate users. If you set "​Authentication level required"​ option to "​5"​ by example, AuthBasic requests will be ALWAYS rejected because AuthBasic authentication level is lower than required level.
 +</​note>​
  
 <note important>​ <note important>​