kk Blog —— 通用基础


date [-d @int|str] [+%s|"+%F %T"]
netstat -ltunp
sar -n DEV 1

httpd apache index 显示文件名长度

https://www.cnblogs.com/cnmumian/p/12177676.html

通常情况下,文件名过长,打开index后,过长的文件名会最后会显示..

在centos中文件所谓位置 /etc/httpd/conf.d/httpd-autoindex.conf

在配置文件httpd-autoindex.conf中的修改:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
IndexOptions FancyIndexing HTMLTable VersionSort NameWidth=* FoldersFirst Charset=UTF-8 SuppressDescription SuppressHTMLPreamble

其中

FancyIndexing 支持美化显示;

HTMLTable 允许底层代码把文件列表生成在一个table元素里面;

VersionSort 安装版本排序;

NameWidth=* 页面自动匹配文件名宽度;

FoldersFirst 安装文件夹优先排列;

Charset=UTF-8 支持中文显示;

SuppressDescription 不显示文件描述;