You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Hoang C. Truong" <ho...@yahoo.com> on 2002/06/28 05:25:54 UTC
cgi perl script and tomcat...
Hi everyone,
Does tomcat support cgi perl? How do I configure and
how do I kick off the cgi script from my web browser?
Thanks,
-Hoang
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: cgi perl script and tomcat...
Posted by Liam Morley <lm...@gdc.wpi.edu>.
yep:) it's stored on your hard drive wherever you have cgiPathPrefix set
to... and you access it within your browser wherever you have the cgi
servlet-mapping set to.
Liam Morley
Hoang C. Truong wrote:
>I got it. I just need to put it in the root of my
>webapp and access it as
>http://localhost:8080/testcgi/cgi-bin/hello.cgi
>
>Thanks,
>
>-Hoang
>
>
>--- "Hoang C. Truong" <ho...@yahoo.com>
>wrote:
>
>
>>Thanks Liam for your quick respond,
>>Yes, I saw the section you mentioned and
>>uncommented
>>it.
>>Now I would like to create webapp testcgi that has
>>hello.cgi script in it. How would I do that in term
>>of what directory do I need to create? And how
>>would
>>I access hello.cgi from a browser?
>>Thanks for your help.
>>
>>-Hoang
>>
>>
>>--- Liam Morley <lm...@gdc.wpi.edu> wrote:
>>
>>
>>>Tomcat does, but it's not turned on by default.
>>>
>>>
>>You
>>
>>
>>>want to look in your
>>>$CATALINA_HOME/conf/web.xml; search for the word
>>>"CGI", and you should
>>>come upon the section you're looking for.
>>>
>>>Liam Morley
>>>
>>>
>>>Hoang C. Truong wrote:
>>>
>>>
>>>
>>>>Hi everyone,
>>>>Does tomcat support cgi perl? How do I configure
>>>>
>>>>
>>>and
>>>
>>>
>>>>how do I kick off the cgi script from my web
>>>>
>>>>
>>>browser?
>>>
>>>
>>>>Thanks,
>>>>
>>>>-Hoang
>>>>
>>>>
>>>>
>>>__________________________________________________
>>>
>>>
>>>>Do You Yahoo!?
>>>>Yahoo! - Official partner of 2002 FIFA World Cup
>>>>http://fifaworldcup.yahoo.com
>>>>
>>>>--
>>>>To unsubscribe, e-mail:
>>>>
>>>>
>><ma...@jakarta.apache.org>
>>
>>
>>>>For additional commands, e-mail:
>>>>
>>>>
>>><ma...@jakarta.apache.org>
>>>
>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>--
>>>To unsubscribe, e-mail:
>>>
>>>
>>>
>><ma...@jakarta.apache.org>
>>
>>
>>>For additional commands, e-mail:
>>><ma...@jakarta.apache.org>
>>>
>>>
>>>
>>__________________________________________________
>>Do You Yahoo!?
>>Yahoo! - Official partner of 2002 FIFA World Cup
>>http://fifaworldcup.yahoo.com
>>
>>--
>>To unsubscribe, e-mail:
>><ma...@jakarta.apache.org>
>>For additional commands, e-mail:
>><ma...@jakarta.apache.org>
>>
>>
>>
>
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! - Official partner of 2002 FIFA World Cup
>http://fifaworldcup.yahoo.com
>
>--
>To unsubscribe, e-mail: <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: cgi perl script and tomcat...
Posted by "Hoang C. Truong" <ho...@yahoo.com>.
I got it. I just need to put it in the root of my
webapp and access it as
http://localhost:8080/testcgi/cgi-bin/hello.cgi
Thanks,
-Hoang
--- "Hoang C. Truong" <ho...@yahoo.com>
wrote:
> Thanks Liam for your quick respond,
> Yes, I saw the section you mentioned and
> uncommented
> it.
> Now I would like to create webapp testcgi that has
> hello.cgi script in it. How would I do that in term
> of what directory do I need to create? And how
> would
> I access hello.cgi from a browser?
> Thanks for your help.
>
> -Hoang
>
>
> --- Liam Morley <lm...@gdc.wpi.edu> wrote:
> > Tomcat does, but it's not turned on by default.
> You
> > want to look in your
> > $CATALINA_HOME/conf/web.xml; search for the word
> > "CGI", and you should
> > come upon the section you're looking for.
> >
> > Liam Morley
> >
> >
> > Hoang C. Truong wrote:
> >
> > >Hi everyone,
> > >Does tomcat support cgi perl? How do I configure
> > and
> > >how do I kick off the cgi script from my web
> > browser?
> > >
> > >Thanks,
> > >
> > >-Hoang
> > >
> >
> >__________________________________________________
> > >Do You Yahoo!?
> > >Yahoo! - Official partner of 2002 FIFA World Cup
> > >http://fifaworldcup.yahoo.com
> > >
> > >--
> > >To unsubscribe, e-mail:
> >
> <ma...@jakarta.apache.org>
> > >For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> >
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: cgi perl script and tomcat...
Posted by "Hoang C. Truong" <ho...@yahoo.com>.
Thanks Liam for your quick respond,
Yes, I saw the section you mentioned and uncommented
it.
Now I would like to create webapp testcgi that has
hello.cgi script in it. How would I do that in term
of what directory do I need to create? And how would
I access hello.cgi from a browser?
Thanks for your help.
-Hoang
--- Liam Morley <lm...@gdc.wpi.edu> wrote:
> Tomcat does, but it's not turned on by default. You
> want to look in your
> $CATALINA_HOME/conf/web.xml; search for the word
> "CGI", and you should
> come upon the section you're looking for.
>
> Liam Morley
>
>
> Hoang C. Truong wrote:
>
> >Hi everyone,
> >Does tomcat support cgi perl? How do I configure
> and
> >how do I kick off the cgi script from my web
> browser?
> >
> >Thanks,
> >
> >-Hoang
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Yahoo! - Official partner of 2002 FIFA World Cup
> >http://fifaworldcup.yahoo.com
> >
> >--
> >To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> >For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> >
> >
> >
> >
> >
>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: cgi perl script and tomcat...
Posted by Liam Morley <lm...@gdc.wpi.edu>.
Tomcat does, but it's not turned on by default. You want to look in your
$CATALINA_HOME/conf/web.xml; search for the word "CGI", and you should
come upon the section you're looking for.
Liam Morley
Hoang C. Truong wrote:
>Hi everyone,
>Does tomcat support cgi perl? How do I configure and
>how do I kick off the cgi script from my web browser?
>
>Thanks,
>
>-Hoang
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! - Official partner of 2002 FIFA World Cup
>http://fifaworldcup.yahoo.com
>
>--
>To unsubscribe, e-mail: <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>