Re: [OT] Issue with cgi/perl webpage

2013-11-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Felipe, On 11/22/13, 10:29 AM, Felipe wrote: Interesting, so do container-based systems such as Tomcat rely heavely on httpd? No, but it's quite common to see httpd used to front a Tomcat-based application. This is a good strategy when you need

Re: [OT] Issue with cgi/perl webpage

2013-11-24 Thread André Warnier
Felipe wrote: Interesting, so do container-based systems such as Tomcat rely heavely on httpd? Not necessarily. Read on. I've read that many people use Tomcat just for webapp deployment and use apache to handle static pages, among other things, but is it reasonable to use Tomcat to handle

Re: [OT] Issue with cgi/perl webpage

2013-11-22 Thread Felipe
Interesting, so do container-based systems such as Tomcat rely heavely on httpd? I've read that many people use Tomcat just for webapp deployment and use apache to handle static pages, among other things, but is it reasonable to use Tomcat to handle static pages, or is it solely for webapp server?

Re: [OT] Issue with cgi/perl webpage

2013-11-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Neven, On 11/20/13, 11:48 AM, Neven Cvetkovic wrote: Ultimately, CGI is a very old technology that had its own share of performance (and security) problems. Usually, CGI scripts were replaced with superior Java Servlet technology (or some other

Re: Issue with cgi/perl webpage

2013-11-20 Thread Neven Cvetkovic
On Wed, Nov 20, 2013 at 12:21 AM, Felipe felipeh...@gmail.com wrote: Neven, First of all, I'd like to thank you for all the help. I can say I have learned a great deal through this experience. To clarify, the choice of using tomcat for this was not mine. I am trying to lend a hand to a

Issue with cgi/perl webpage

2013-11-19 Thread Felipe
Hello, I am running Manjaro Linux (0.8.7) using the linux 3.4.69 kernel on a Dell XPS m1330 laptop. I am trying to run a sample webpage that uses perl and cgi to handle a form. These are the steps I took: * wget

Re: Issue with cgi/perl webpage

2013-11-19 Thread Neven Cvetkovic
Felipe your form action seem to be wrong. Nothing is listening on port 80 as notwd in your html. It should be more like http://localhost:8080/... Depending how that default servlet has been mapped to cgi programs. Hopefully that will get you going :) On Nov 20, 2013 3:01 AM, Felipe

Re: Issue with cgi/perl webpage

2013-11-19 Thread Felipe
Thank you Neven, So, basically I've tried your suggestion, but I tried it again to see if anything would change, but I got this error: *type* Status report *message* */home/luis/tomcat/apache-tomcat-8.0.0-RC5/web/cgi-bin/project.cgi* *description* *The requested resource is not available.*

Re: Issue with cgi/perl webpage

2013-11-19 Thread Neven Cvetkovic
Felipe, As noted in the web.xml comments, in order to make cgi-servlet working, you need to package cgi scripts with your web application (e.g. yourapp.war): Common Gateway Includes (CGI) processing servlet, which supports execution of external applications that conform to the CGI spec

Re: Issue with cgi/perl webpage

2013-11-19 Thread Felipe
Neven, First of all, I'd like to thank you for all the help. I can say I have learned a great deal through this experience. To clarify, the choice of using tomcat for this was not mine. I am trying to lend a hand to a professor of mine. This specific exercise is in his Unix class. For some reason

Re: Issue with cgi/perl webpage

2013-11-19 Thread Konstantin Kolinko
2013/11/20 Felipe felipeh...@gmail.com: Hello, I am running Manjaro Linux (0.8.7) using the linux 3.4.69 kernel on a Dell XPS m1330 laptop. I am trying to run a sample webpage that uses perl and cgi to handle a form. These are the steps I took: * wget