讨论区 » AAS-V10企业版 »
系统某个目录禁止浏览器访问
原 Nginx 配置:
location ~/cvs/ {
autoindex off;
autoindex_exact_size on;
autoindex_localtime on;
deny all;
}
在V10中配置:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE aas-web-app PUBLIC "-//Apusic.com//DTD Apusic Application Server 10.1 Servlet 3.0//EN" "http://apusic.com/dtds/apusic-web-app_3_0-1.dtd">
<aas-web-app error-url="">
<property name="alternatedocroot_1" value="from=/mydir/* dir=/opt/testz" />
</aas-web-app>