Ver Mensaje Individual
  #2 (permalink)  
Antiguo 04/02/2003, 16:16
Avatar de affv
affv
 
Fecha de Ingreso: diciembre-2002
Ubicación: Ahora aqui
Mensajes: 485
Antigüedad: 22 años, 4 meses
Puntos: 0
Hola!!

Creo que esto es lo que necesitas... bueno al menos yo si lo utilizo y me ha funcionado muy bien espero a vos te sirva tambien.

<%

Dim ServerName, Sitio

Sitio = Request.ServerVariables("SERVER_NAME")
if InStr(1, Sitio, "200.13.161.2", 1)<>0 Then
ServerName = "home"

'Sitio www.paginauno.com
Else If InStr(1, Sitio, "www.paginauno.com", 1)<>0 Then
ServerName = "paginauno"
Else If InStr(1, Sitio, "paginauno.com", 1)<>0 Then
ServerName = "paginauno"

'Sitio www.paginados.com
Else If InStr(1, Sitio, "www.paginados.com", 1)<>0 Then
ServerName = "paginados"
Else If InStr(1, Sitio, "paginados.com", 1)<>0 Then
ServerName = "paginados"

'Sitio www.paginatres.com
Else If InStr(1, Sitio, "www.paginatres.com", 1)<>0 Then
ServerName = "paginatres"
Else If InStr(1, Sitio, "paginatres.com", 1)<>0 Then
ServerName = "paginatres"

Else ServerName = "home"
End If
End If
End If
End If
End If
End If
End If

Sitio = ServerName

response.redirect "" & Sitio

%>
__________________
Todo tiene un comienzo y un fin!!
Postea tus proyectos