{dede:list pagesize='33'} [field:title /][field:pubdate function="MyDate('Y-m-d',@me)"/] [field:global runphp='yes' name=autoindex]$c...
分类:
其他好文 时间:
2015-11-17 12:53:10
阅读次数:
194
location/download/{
roothtml;
limit_rate100k;#限制用户的速率为100KB/s
limit_rate_after5m;#当用户下载5m内容时,开始限速
autoindexon;#显示目录
autoindex_exact_sizeoff;#显示文件大小(实际大小,单位是bytes,默认为on),当设置为off时,以M/K为单位显示大校
autoinde..
分类:
其他好文 时间:
2015-10-28 01:46:15
阅读次数:
180
server { listen 80; charset utf-8; autoindex on; server_name_in_redirect off; server_name www.example.com; root D:/phpStudy/W...
分类:
其他好文 时间:
2015-10-10 17:16:30
阅读次数:
168
在操作dedecms站群中的站,因为看到首页的幻灯片Flash显示标题和文字,显得有点突兀,觉得应该去除dedecms 幻灯片默认的文字标题和背景,这样会感觉舒服些,下面教大家如何在模板当中去除dedecms幻灯片的文字和背景。1、查找textarr[[field:global.autoindex/...
分类:
其他好文 时间:
2015-10-10 10:22:04
阅读次数:
197
autoindex/itemindex 可以使用 @me+1;实现由指定数字开始,下面为大家详细介绍下具体的两者具体的用法,感兴趣的朋友可以参考下代码如下:让dedecms autoindex,itemindex 从0到1开始的办法代码如下:[field:global name=autoindex ...
分类:
其他好文 时间:
2015-09-20 16:16:09
阅读次数:
160
织梦autoindex,itemindex 的使用心得autoindexitemindex 的使用心得区别channelartlist 标签下使用 {dede:global name='itemindex'runphp='yes'}@me;{/dede:global}channel 标签下使用 [f...
分类:
其他好文 时间:
2015-08-03 18:58:57
阅读次数:
115
织梦dedecms自增变量autoindex标签的使用例1:{dede:arclist titlelen='120' row='8' typeid='2'}[field:title function='cn_substr(@me,10)'/]{/dede:arclist}例2:{dede:arcli...
分类:
其他好文 时间:
2015-08-03 18:54:52
阅读次数:
183
nginx在列出的默认同意整个文件夹。你怎么转Nginx在文件夹列表功能?打开nginx.conf文件。在location server 要么 http段增加autoindex on;另外两个參数最好也加上去:autoindex_exact_size on;显示出文件的确切大小。单位是bytes。改...
分类:
其他好文 时间:
2015-07-06 19:22:46
阅读次数:
125
Nginx默认是不允许列出整个目录的。如需此功能,打开nginx.conf文件或你要启用目录浏览虚拟主机的配置文件,在server或location段里添加上autoindexon;来启用目录流量,下面会分情况进行说明。另外Nginx的目录流量有两个比较有用的参数,可以根据自己的需求添加:autoindex_exa..
分类:
其他好文 时间:
2015-07-03 00:24:08
阅读次数:
129
#开启索引功能location / { autoindex on; autoindex_exact_size off; autoindex_localtime on;} #别名目录location /down/ { alias /home/wwwroot/ln...
分类:
其他好文 时间:
2015-06-09 11:41:57
阅读次数:
91