You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by rufio <ru...@op.pl> on 2003/11/18 22:34:54 UTC

cgi-problem

Hi!
I try to set up some cgis and it doesn't work. Using default settings tomcat
looks them in tomcat_root_context_dir/WEB-INF/cgi, so I put the script in
that dir but tomcat returns empty page and there is error in the logs:

<snip>
2003-11-18 19:52:44 cgi: runCGI (stderr):Can't open perl script
""/opt/jakarta-tomcat-4.1.29/webapps/ROOT/WEB-INF/cgi/arpwatch.cgi"": No such
file or directory 2003-11-18 19:52:44 cgi: runCGI: 1 lines received on stderr
</snip>

But

$ls /opt/jakarta-tomcat-4.1.29/webapps/ROOT/WEB-INF/cgi/arpwatch.cgi
/opt/jakarta-tomcat-4.1.29/webapps/ROOT/WEB-INF/cgi/arpwatch.cgi

What could be wrong?

Is it ok that tomcat searches it in root context's subdir?

Regards, Rufio
-- 
010 nmap -O www.microsoft.com
001 [..]
111 Running: Linux 2.5.X

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org