home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1998 February
/
CHIP_2_98.iso
/
software
/
pelne
/
optionp
/
iis4_03.cab
/
iifvdrd.asp
< prev
next >
Wrap
Text File
|
1997-11-12
|
2KB
|
109 lines
<%@ LANGUAGE=VBScript %>
<% Option Explicit %>
<% Response.Expires = 0 %>
<% if Session("FONTSIZE") = "" then %>
<!--#include file="iito.inc"-->
<% else %>
<%
' strings for localization
Const L_ACCESSDENIED_TEXT="Access Denied"
Const L_CLIENTSENTTO_TEXT="The client will be sent to:"
Const L_EXACTURL_TEXT="the exact URL entered above."
Const L_DIRBELOW_TEXT="a directory below http://doughnut1/foo on this site."
Const L_PERM_TEXT="a permanent redirection for http://doughnut1/foo"
Const L_UNSET_TEXT="(not set)"
' NOTE: \r is a carraige return for line spacing...
Const L_REDIRTO_TEXT="Redirect to:"
Dim path, currentobj, keyType, redirto
On Error Resume Next
path=Session("dpath")
Set currentobj=GetObject(path)
keyType = "IIsFTPDirectory"
%>
<!--#include file="iifixpth.inc"-->
<!--#include file="iiset.inc"-->
<HTML>
<HEAD>
<TITLE></TITLE>
<SCRIPT LANGUAGE="JavaScript">
<% if UCase(Right(currentobj.ADsPath,4))="ROOT" then %>
top.title.Global.helpFileName="iipz_5";
<% else %>
top.title.Global.helpFileName="iipz_3";
<% end if %>
function listFuncs(){
this.writeList=buildListForm;
}
function buildListForm(){
}
listFunc=new listFuncs();
</SCRIPT>
</HEAD>
<BODY BGCOLOR="#CCCCCC" TOPMARGIN=5 TEXT="#000000" LINK="#FFFFFF" STYLE="font-face: Helv,Arial; font-size:10pt;">
<FONT SIZE=1 FACE="HELV,ARIAL">
<FORM NAME="userform" onSubmit="return false">
<HR>
<BLOCKQUOTE>
<TABLE WIDTH="100%" BORDER=0 CELLPADDING=0>
<TR>
<TD VALIGN="Bottom">
<FONT SIZE=1 FACE="HELV,ARIAL">
<%= L_REDIRTO_TEXT %>
<% redirto=currentobj.HttpRedirect %>
<% if redirto <> "" then %>
<%= redirto %>
<% else %>
<%= L_UNSET_TEXT %>
<% end if %>
<% if false then %>
<%= text("HttpRedirect",25,"","","",false,true) %>
<% end if %>
</FONT>
</TD>
</TR>
<TR>
<TD> </TD>
</TR>
<!-- removed for b2
<TR>
<TD>
<FONT SIZE=1 FACE="HELV,ARIAL">
<%= L_CLIENTSENTTO_TEXT %><P>
<BLOCKQUOTE>
<%= redirOpt("EXACTURL","",false) %><%= L_EXACTURL_TEXT %><P>
<%= redirOpt("PERMANENT","",false) %><%= L_DIRBELOW_TEXT %><P>
<%= redirOpt("CHILD_ONLY","",false) %><%= L_PERM_TEXT %>
</BLOCKQUOTE>
</FONT>
</TD>
</TR>
-->
</TABLE>
</BLOCKQUOTE>
</FORM>
</FONT>
</BODY>
</HTML>
<% end if %>