si infatti...
quindi vado sul sicuro così?
codice:
<%
Dim userLocale
userLocale = request.servervariables("HTTP_ACCEPT_LANGUAGE")
Dim languages
languages = Split(userLocale, ",", -1)
Dim language
For Each language in languages
If InStr(language, "de") <> 0 Then
Response.Status="301 Moved Permanently"
Response.AddHeader "Location", " /deu/"
Response.End
else
If InStr(language, "it") <> 0 Then
Response.Status="301 Moved Permanently"
Response.AddHeader "Location", " /ita/"
Response.End
else
Response.Status="301 Moved Permanently"
Response.AddHeader "Location", " /eng/"
Response.End
End If
Next
%>
ancora grazie
ciao
francesco