#parse("manage/host/head.htm") #parse("manage/host/top.htm")
#parse("manage/host/menu.htm")
页面设置
绑定域名 #set($DomainList=$QzHelper.Split($HostUser.Domains,",")) #foreach($Domain in $DomainList) #end
域名 操作
$Domain
1、 绑定域名不加http://。
2、您的域名需要解析到本服务器IP:#if(${HostUser.BindIp}!="")${HostUser.BindIp}#else${HostUser.ServerInfo}#end才可访问到。
MIME类型 #if($HostUser.IISVer=="6") #set($MIMEList=$QzHelper.Split($HostUser.MIME,",")) #foreach($MIME in $MIMEList) #set($MIMENameValue=$QzHelper.Split($MIME,"&")) #foreach($s in $MIMENameValue) #end #end
类型名称 类型值 操作
#end #if($HostUser.IISVer=="7")
由于服务器是IIS7及以上版本,您可以手动配置web.config实现本项操作。
节点位置:configuration/system.webServer/staticContent
<mimeMap fileExtension="扩展名" mimeType="MIME类型" />
如:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <staticContent>
            <mimeMap fileExtension=".iso" mimeType="application/octet-stream" />
        </staticContent>
    </system.webServer>
</configuration>
添加多个MIME类型则增加多条mimeMap记录。
#end
1、该功能可以设置自己的MIME类型,如ISO文件、WAP网页文件类型。
2、拓展名必须带“.”,如“.iso”。
ISAPI筛选器 #set($ISAPIList=$QzHelper.Split($HostUser.ISAPI,"@")) #foreach($ISAPI in $ISAPIList) #set($ISAPINameValue=$QzHelper.Split($ISAPI,",")) #foreach($s in $ISAPINameValue) #end #end
筛选器名称 可执行文件路径 操作
1、ISAPI筛选器用于站点插件的安装,如ReWrite伪静态组件、防盗链等组件的安装。
2、请将组件上传至您的FTP目录
3、筛选器名称根据组件的规定或自己好记的名称填写,如ReWrite。
4、可执行文件地址填写您的FTP目录上的地址,如:Rewrite/Rewrite.dll。
#parse("manage/host/foot.htm")