Forum Discussion
warbie_136205
Nimbostratus
Mar 23, 2016Google Analytics different code for Multiple Sites
Hi All, I am trying to figure out how to make different Google Analytic codes work for multiple sites. I found this on the good old interewebz/DevCentral listed below. However, when I create a se...
Michael_Yates
Nimbostratus
Mar 02, 2012Hi Leonid,
I don't think that you need to bother checking to see if the [HTTP::host] is empty. If it is empty then it will never hit the Virtual Server. It could be an IP Address or something else but should never be empty.
This will do what you were wanting, but will not function properly if you hit the Virtual Server with an IP Address. If you want any traffic hitting the Virtual Server with an IP Address to respond properly you will need to add additional logic.
when HTTP_REQUEST {
if { !([HTTP::host] starts_with "www") } {
HTTP::respond 301 Location "http://www.[getfield [HTTP::host] ":" 1][HTTP::uri]"
}
}
Hope this helps.
- Yann_DesmarestMay 06, 2016
Cirrus
Hello,
You are right, when choosing Kerberos, client certificate or ntlm authentication, you retrict your capabilities on the authentication mecanism supported on the backend for SSO.
When using authentication mecanism not prompting for password, you can only use kerberos delegation, saml or header based SSO.
- Yann_DesmarestMay 06, 2016
Cirrus
If sso is ntlmv2, you have the options to use basic or forms based client auth because we need the password. Ntlmv2 client auth with ntlmv2 sso doesn't make sense and asaik is not supported through apm.
- Yann_Desmarest_May 06, 2016
Nacreous
Hello,
You are right, when choosing Kerberos, client certificate or ntlm authentication, you retrict your capabilities on the authentication mecanism supported on the backend for SSO.
When using authentication mecanism not prompting for password, you can only use kerberos delegation, saml or header based SSO.
- Yann_Desmarest_May 06, 2016
Nacreous
If sso is ntlmv2, you have the options to use basic or forms based client auth because we need the password. Ntlmv2 client auth with ntlmv2 sso doesn't make sense and asaik is not supported through apm.