tomcat从根目录的子目录执行cgi脚本

时间:2018-08-26 19:48:35

标签: tomcat cgi

我有一个tomcat服务器,如果html在根目录中,该服务器已经可以使用cgi执行脚本。但是,当我想从根目录的子目录执行脚本时,会得到404。

我已经按照本教程https://turreta.com/2014/10/06/cgi-with-tomcat-8/

中所述进行了配置

我需要做什么才能使脚本也可以在子目录中执行?

/webapps/Project/index.html   <--Rootdirecory executing cgis from here works
/webapps/Project/subdirectory/site.html   <-- subdirectory executing cgis from here  doesn't works
/webapps/Project/WEB-INF/cgi/ <-- here are the scripts

0 个答案:

没有答案
相关问题