码迷,mamicode.com
首页 >  
搜索关键字:autoindex    ( 106个结果
自动列目录
自动列目录 location / { # 自动列目录 autoindex on; # 显示文件大小 on 或 off autoindex_exact_size on; # 显示文件修改时间 on 或 off autoindex_localtime on; } ...
分类:其他好文   时间:2016-09-01 22:50:58    阅读次数:256
DEDECMS中,自增长标签
自增长 arclist 标签下使用 [field:global.autoindex/] 默认从1开始 channel 标签下使用 [field:global.autoindex/] 默认从0开始 channelartlist 标签下使用 {dede:global.itemindex/} 默认从1开始 ...
分类:其他好文   时间:2016-08-01 17:38:53    阅读次数:105
nginx打开目录浏览功能
nginx默认是不允许列出整个目录的。如需此功能,打开nginx.conf文件,在locationserver或http段中加入autoindexon;另外两个参数最好也加上去:autoindex_exact_sizeoff;默认为on,显示出文件的确切大小,单位是bytes。改为off后,显示出文件的大概大小,单位是kB或者MB或者GBaut..
分类:其他好文   时间:2016-07-16 07:09:00    阅读次数:137
Nginx 用虚拟主机做下载服务器
在配置文件中添加如下虚拟主机server{ listen80; server_namesoftware.huhaiqing.com; indexindex.htmlindex.html; autoindexon; autoindex_exact_sizeoff; autoindex_localtimeon; location/{ root/software; } }
分类:其他好文   时间:2016-06-10 23:24:23    阅读次数:425
nginx try_files命令
location / { index index.html index.htm index.php l.php; autoindex on; try_files $uri $uri/ /index.php?q=$uri&$args; } ...
分类:其他好文   时间:2016-04-26 12:14:32    阅读次数:154
Apache新版配置虚拟主机的注意事项
1.关于没有默认索引文件(index.php或者index.html)时,列出目录:需要开启模块 LoadModule autoindex_module modules/mod_autoindex.so 且配合httpd-vhosts.conf的设置: Indexes 即: 如果输入的网址对应服务器 ...
分类:Web程序   时间:2016-04-18 13:09:08    阅读次数:131
nginx中相关配置
#nginx 开启目录浏览 location / { root /data/www/file //指定实际目录绝对路径; autoindex on; //开启目录浏览功能; autoindex_exact_size off; //关闭详细文件大小统计,让文件大小显示MB,GB单位,默认为b; aut ...
分类:其他好文   时间:2016-04-10 08:01:08    阅读次数:164
nginx yii2配置文件
应用配置文件 server { listen 80; server_name local.core.api; root /Users/li/Documents/www/CoreAPI/; location / { index index.php; autoindex on; if (!-f $req ...
分类:其他好文   时间:2016-04-05 16:07:57    阅读次数:112
Nginx 和 Apache 开启目录浏览功能
1.Nginx 在相应项目的 Server 段中的 location 段中,添加 autoindex on。例如: server { listen 80; server_name www.dee.practise.com; location /{ root html/practise; #index
分类:Web程序   时间:2016-03-12 14:44:10    阅读次数:264
DEDECMS自动编号(序号)autoindex属性
让织梦dedecms autoindex,itemindex 从0到1开始的办法! 1 2 3 [field:global name=autoindex runphp="yes"]@me=@me+1;[/field:global] {dede:global name=itemindex runphp
分类:其他好文   时间:2016-02-24 15:41:23    阅读次数:182
106条   上一页 1 ... 5 6 7 8 9 ... 11 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!