%onerror error%>
^IISDIR^
^BodyTag^
<%if reqparam RF "bdir"%>
<%redirect%>^HtmlaDll^?dir/bdir+<%servname%>/diredt%+<%urlparam%>?rootdir?<%msgbody.rootdir%><%/redirect%>
<%endif%>
<%if reqparam RF "cancel"%>
<%goto end%>
<%endif%>
<%if reqparam RF "help"%>
<%redirecthttp%>^HelpPath^<%msgbody.helptopic%><%/redirecthttp%>
<%endif%>
<%if reqparam RF "doalias"%>
<%!AliasVirtDir "/" msgbody.rootaddr%>
<%elif msgbody.rootishome EQ "1"%>
<%!PosVirtDir urlparam%>
<%if rootishome EQ 0%>
<%!CheckForVirtDir "/" msgbody.rootaddr%>
<%endif%>
<%endif%>
<%!PosVirtDir urlparam%>
<%!Clear rootisread%>
<%!Clear rootiswrite%>
<%!Clear rootisexec%>
<%!Clear rootisssl%>
<%!Update%>
<%label end%>
<%redirect%>^HtmlaDll^?<%servname%>/dir<%/redirect%>
<%label error%>
<%if reqstatus EQ 14000%>
<%else%>
^ErrorID^
<%endif%>