!
"
"
%&
'#
"
#$$
"
!
#$$
!
(
(
)
()
( +
"
%* #
,- .
#
)
/ "
6 - 7- 1 8 - 0 1 /2
) (
"
8
& !
8 ,93 5: ;3 3 - /!
(
0 1 /2 3 4/51 - 0 45,3 1
()
/
3-/
3-/
!
()
8888
!"
/
<
+
8 4B
4
"
+
6
!
()
8
%& !
( ) %&
(
)
)
8 ,93 5: ;3 !
3-/ (
+
#
=>? - 1 @ 43 1 3 1 @ A- ,1 51 @ B;
()
!
( 9,- 6 =! &
"
8 ,93 5:;3
% "
:
" !B
&
+
C !
( 8
!
%&
%&
(
)
"
D
& "
(
0
#
<?
$SUB=$_SERVER["HTTP_HOST"];
if ($SUB="nome_subdominio")
header("Location: http://www.nomedodominio.com.br/nome_diretorio");
else
header("Location: http://www.nomedodominio.com.br/pagina_inicial.html");
exit;
?>
-
"
(
E/6 B
6 ;9
(
!
)
$
%&&# '
#
##
!
)
#
<?
$SUB=$_SERVER["HTTP_HOST"];
switch($SUB){
case("lojavirtual.bitsell.com"):
header("Location: http://www.bitsell.com/lojavirtual/index.html");
break;
default:
header("Location: http://www.bitsell.com/pagina_inicial.html");
}
exit;
?>
4
:/ #
<%
URL = Request.ServerVariables("SERVER_NAME")
Select Case URL
Case "lojavirtual.bitsell.com"
Response.Redirect "http://www.bitsell.com/lojavirtual/index.html"
Case "www.bitsell.com.br"
Response.Redirect "/home.html"
End Select
%>
"
&
)
1
+
!
-
()
8 4B !
!
! &
"
%&
%
)
3-/
3- /
G
:
8
-
F
H /
%
,
Download

Redirecionando sub-dom ínio para sub-diretório