tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: cgi problem
Date Sat, 05 Jul 2008 09:33:39 GMT
Vangelis Katsikaros wrote:
> I have Tomcat 5.0.27
That is old and unsupported. I'd move to a new version if you can.

> But since I 
> want the script to be inside $CATALINA_HOME/webapps/ROOT/dir1 I changed 
> cgiPathPrefix to dir1/ . I also changed cgi servlet-mapping from 
> /cgi-bin/* to *.cgi

Try cgiPathPrefix="" Tomcat will get the dir1 from the pathInfo so you 
don't need to specify it as part of the path prefix.

Note: I haven't actually tested this - I am going from memory / the source 
code.

Mark



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message