GoDaddy虚拟主机首页优先级
发布时间:2013-05-25 21:15:15 来源:51推一把
【摘要】GoDaddy虚拟主机首页优先级1.GoDaddy windows主机首页优先级顺序引用
GoDaddy虚拟主机首页优先级
1.GoDaddy windows主机首页优先级顺序
引用:
default.asp
default.html
default.htm
default.aspx
default.php
default.shtml
default.shtm
index.html
index.htm
index.asp
index.php
index.shtml
index.shtm
home.html
home.htm
home.shtml
home.shtm
welcome.html
welcome.asp
如果用了ColdFusion,则如下文件有更高的优先级
引用:
default.cfm
default.cfml
index.cfm
index.cfml
home.cfm
home.cfml
welcome.cfm
welcome.cfml
2. GoDaddy Linux主机的首页顺序:
引用:
default.html
default.htm
index.php
index.shtml
index.html
index.htm
home.html
home.htm
index.php5
注意:如果你激活了ColdFusion,index.cfm和default.cfm的优先级为10和11. 如果激活了JSP, index.jsp优先级为10.
welcome.html welcome.htm
linux主机用.htaccess可设置其它文件为首页,
复制内容到剪贴板代码:
DirectoryIndex index.html index.php index.cgi index.pl
windows的可以考虑使用高优先级的首页转向到你需的首页文件上
1.GoDaddy windows主机首页优先级顺序
引用:
default.asp
default.html
default.htm
default.aspx
default.php
default.shtml
default.shtm
index.html
index.htm
index.asp
index.php
index.shtml
index.shtm
home.html
home.htm
home.shtml
home.shtm
welcome.html
welcome.asp
如果用了ColdFusion,则如下文件有更高的优先级
引用:
default.cfm
default.cfml
index.cfm
index.cfml
home.cfm
home.cfml
welcome.cfm
welcome.cfml
2. GoDaddy Linux主机的首页顺序:
引用:
default.html
default.htm
index.php
index.shtml
index.html
index.htm
home.html
home.htm
index.php5
注意:如果你激活了ColdFusion,index.cfm和default.cfm的优先级为10和11. 如果激活了JSP, index.jsp优先级为10.
welcome.html welcome.htm
linux主机用.htaccess可设置其它文件为首页,
复制内容到剪贴板代码:
DirectoryIndex index.html index.php index.cgi index.pl
windows的可以考虑使用高优先级的首页转向到你需的首页文件上