Re: Tomcat 5x SSI
Mark Thomas wrote: > Samik Basu wrote: >> Yes, I have tried it out but turning it on in Web.xml. However it did not >> help. For example - this variable is set to 1 and then I invoked >> /Tomcat/cgi-bin/test.cgi >> /cgi-bin/test.cgi - error is context not found >> ../cgi-bin/test.cgi (assume that the shtml file just under the root of the >> project directory) - error is file not found >> I cannot give "../WEB-INF/cgi/test,cgi" as that will just show the cgi >> program - not the result of its execution. >> I am sure I am missing something simple. Please post if I can provide some >> more info. > > Could be a bug - let me look into it. Yep, it is a bug. I'll get it fixed. Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 5x SSI
Samik Basu wrote: > Yes, I have tried it out but turning it on in Web.xml. However it did not > help. For example - this variable is set to 1 and then I invoked > /Tomcat/cgi-bin/test.cgi > /cgi-bin/test.cgi - error is context not found > ../cgi-bin/test.cgi (assume that the shtml file just under the root of the > project directory) - error is file not found > I cannot give "../WEB-INF/cgi/test,cgi" as that will just show the cgi > program - not the result of its execution. > I am sure I am missing something simple. Please post if I can provide some > more info. Could be a bug - lt me look into it. Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 5x SSI
Yes, I have tried it out but turning it on in Web.xml. However it did not help. For example - this variable is set to 1 and then I invoked /Tomcat/cgi-bin/test.cgi /cgi-bin/test.cgi - error is context not found ../cgi-bin/test.cgi (assume that the shtml file just under the root of the project directory) - error is file not found I cannot give "../WEB-INF/cgi/test,cgi" as that will just show the cgi program - not the result of its execution. I am sure I am missing something simple. Please post if I can provide some more info. On 10/26/07, Mark Thomas <[EMAIL PROTECTED]> wrote: > > Samik Basu wrote: > > Interestingly, when I do it > works > > fine i.e. I can include any other types of files. > > Have you tried setting isVirtualWebappRelative ? > > Mark > > - > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: Tomcat 5x SSI
Samik Basu wrote: > Interestingly, when I do it works > fine i.e. I can include any other types of files. Have you tried setting isVirtualWebappRelative ? Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat 5x SSI
I am running Apache-Tomcat 5.5.25 - plugged into Eclipse. I have updated the web.xml and renamed the renametojar files in server/lib/ to allow cgi and ssi. A tomcat project named "TomcatProject" is created in Eclipse and the server.xml is updated with the context information as follows: In my TomcatProject/WEB-INF I have created a cgi directory inside which all my cgi files exist. Everything is working okay - for example I can see correct results for http://localhost:8080/Tomcat/cgi-bin/test.cgi and http://localhost:8080/Tomcat/test.shtml However, there is one small problem. When I try to execute a cgi program from shtml file using the following directive: it says that the context for /cgi-bin/test.cgi is not found. If I use It rightly says that the file is not found. I have tried out (I think) all possible ways to execute the program - using exec cgi=, exec virtual=, Interestingly, when I do it works fine i.e. I can include any other types of files. Can anyone provide some insights. Thanks.