例如http://218.66.6.161/etax2006/loginMgrAction.flv
怎么设置才能让index.html文件以.flv为后缀?
我直接更改后缀就变成下载index.flv
怎么设置才能让index.html文件以.flv为后缀?
我直接更改后缀就变成下载index.flv
|
tiooverMay 28, 2012
1
这应该从web server入手吧,把content-type设定下试试
|
|
arzusyumeMay 28, 2012
3
感觉LZ要的应该是.htaccess
|
|
4
php.ini里好像有这个。记不清了,基本不改这个,你找找php3,html,phtml。在apache里面有配置
|
|
sivacohanMay 28, 2012
5
php.ini里好像有这个。记不清了,基本不改这个,你找找php3,html,phtml。在apache里面有配置
|
|
G2bN4dbX9J3ncp0rMay 28, 2012
6
url重写 rewrite
|
|
zavaMay 28, 2012
7
LZ想要这个功能做甚么?
|
|
paloaltoMay 28, 2012
8
LZ是不是想要以一个flv做首页啊?可以把flv文件嵌到index.html里。
|
|
liyandongMay 28, 2012
9
URL重写
|
|
skydiverMay 28, 2012
10
Header里的Content-Type改成text/html就行了
|
|
SemidioMay 28, 2012
11
URL Rewrite想变成什么后缀都可以,没有后缀都行
|
|
SivanMay 28, 2012
12
伪静态啦。WordPress 等都支持的~
http://lightcss.com/use-format-as-permalink-in-wordpress/ |
|
sampengMay 29, 2012
15
修改apache/nginx,指定flv的后缀解释为
php。。当然。。会直接强奸掉其他正常的flv。。如果没有的话就无视把 |