一、--日志
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="localhost_access_log" suffix=".txt" pattern="%h %l %u %t "%r" %s %b" />
二、-- 通过软连接,读取摸一个资源下的东西
<Context path="/zhjy/stuimg/opt" docBase="/opt" crossContext="true" trusted="true" allowLinking="true"></Context>
<Context path="/zhdsj/stuimg/opt" docBase="/opt" crossContext="true" trusted="true" allowLinking="true"></Context>
id student folderPath filePath
8A9EAE7047ED305B0147ED56021700E5 120602 /opt/data/store /photo/xx.png
时间: 2024-10-06 16:29:29