Ver Mensaje Individual
  #7 (permalink)  
Antiguo 14/11/2007, 12:51
Avatar de Shiryu_Libra
Shiryu_Libra
Colaborador
 
Fecha de Ingreso: febrero-2007
Ubicación: Cantando "Screenager" en "Kirafa Kaput"
Mensajes: 3.614
Antigüedad: 18 años, 1 mes
Puntos: 88
Re: Redireccion de sub dominio mediante codigo =S


Cita:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<%
'si es el subdominio (con www)
if Request.ServerVariables ("SERVER_NAME") ="www.mu.zen-zone.org" then
Response.Redirect "/zen-zone.org/mu/index.asp"
'sin www igual que arriba
elseif
Request.ServerVariables ("SERVER_NAME") = "mu.zen-zone.org" then
Response.Redirect "/zen-zone.org/mu/index.asp"
end if
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Comunidad Zen Zone</title>
<style type="text/css">
<!--
body {
background-color: #000000;
}
.Estilo1 {
color: #FFFFFF;
font-weight: bold;
}
-->
</style></head>
<body>
<div align="center">
<table width="981" height="398" border="0">
<tr>
<td width="975"><div align="center">
<p><a name="2" id="2"></a></p>
<table width="980" height="206" border="0">

<tr>
<td width="942" background="1.jpg">&nbsp;</td>
</tr>
</table>
<p><a href="inicio.php"><img src="ingresar.gif" width="326" height="216" border="0" /></a></p>
<p class="Estilo1">Copyrigth &copy; 2007 Comunidad Zen Zone </p>
<p><a name="1" id="1"></a></p>

</div>
</td>
</tr>
</table>
</div>
</body>
</html>
__________________
"Eres parte del problema, parte de la solucion o parte del paisaje"
Un Saludo desde Desierto de Altar, Sonora, MX.
Shiryu_libra