Re: [POLL] Who is using CGIServlet, and why?

2019-10-07 Thread Chuck Caldarale
On Mon, Oct 7, 2019 at 10:22 AM Christopher Schultz < ch...@christopherschultz.net> wrote: I'm interested in what the community is doing with the CGIServlet, if > anything. Please do NOT reply if you don't use the CGIServlet. Please > DO reply if you fit into any of these ca

[POLL] Who is using CGIServlet, and why?

2019-10-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, I'm interested in what the community is doing with the CGIServlet, if anything. Please do NOT reply if you don't use the CGIServlet. Please DO reply if you fit into any of these categories: 1. Using Tomcat as a primary web serv

Re: CGIServlet - Disregarding 404 error-page

2015-03-16 Thread Jacob Haverkost
st is made for a file that does not exist. Since the file doesn't exist, I actually wanted to show a proper 404 error page matching the error pages for the rest of my server. Currently, all I see is a blank page from the CGIServlet since my debug level doesn't meet the logging condition.

Re: CGIServlet - Disregarding 404 error-page

2015-03-16 Thread Konstantin Kolinko
2015-03-16 21:52 GMT+03:00 Jacob Haverkost : > Version: 6.0.43 > OS: Win7 x64 > > Currently, the CGIServlet does not appear to support using the 404 > error-page specified in the web.xml (ROOT). The error-pages work fine > > This appears to be due to the line, res.setStatus(4

Re: CGIServlet - Disregarding 404 error-page

2015-03-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jacob, On 3/16/15 2:52 PM, Jacob Haverkost wrote: > Version: 6.0.43 OS: Win7 x64 > > Currently, the CGIServlet does not appear to support using the 404 > error-page specified in the web.xml (ROOT). The error-pages work > fine >

CGIServlet - Disregarding 404 error-page

2015-03-16 Thread Jacob Haverkost
Version: 6.0.43 OS: Win7 x64 Currently, the CGIServlet does not appear to support using the 404 error-page specified in the web.xml (ROOT). The error-pages work fine This appears to be due to the line, res.setStatus(404);, inside of doGet(). According to the documentation for

Re: CGIServlet - php

2011-09-04 Thread throwsCode
http://old.nabble.com/CGIServlet---php-tp32390310p32396552.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: us

Re: CGIServlet - php

2011-09-03 Thread Mark Eggers
- Original Message - > From: throwsCode > To: users@tomcat.apache.org > Cc: > Sent: Saturday, September 3, 2011 5:13 PM > Subject: Re: CGIServlet - php > > > Terence, Ken, Mark thanks for all your input.  Much to consider. > > Mark your the first pers

Re: CGIServlet - php

2011-09-03 Thread throwsCode
ttp://old.nabble.com/CGIServlet---php-tp32390310p32394151.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: CGIServlet - php

2011-09-03 Thread Mark Eggers
- Original Message Edited - > From: Mark Eggers > To: Tomcat Users List > Cc: > Sent: Saturday, September 3, 2011 3:53 PM > Subject: Re: CGIServlet - php > > C. Configure web.xml > > I put everything into my web application's web.xml since I didn'

Re: CGIServlet - php

2011-09-03 Thread Mark Eggers
- Original Message - > From: throwsCode > To: users@tomcat.apache.org > Cc: > Sent: Saturday, September 3, 2011 11:44 AM > Subject: Re: CGIServlet - php > > > Wow thanks Konstantin a lot of good questions and suggestions.  Please give > me some time to put

Re: CGIServlet - php

2011-09-03 Thread Ken Bowen
rowsCode: >> I do not quite understand you. >> >>> I'm trying to implement PHP on tomcat 7.0.20 with no luck. Does anyone know >>> how I can tell whether the CGIServlet is running? >>> >>> I uncommented all of the sections indicated in the T

Re: CGIServlet - php

2011-09-03 Thread Terence M. Bandoian
On 1:59 PM, Konstantin Kolinko wrote: 2011/9/3 throwsCode: I do not quite understand you. I'm trying to implement PHP on tomcat 7.0.20 with no luck. Does anyone know how I can tell whether the CGIServlet is running? I uncommented all of the sections indicated in the Tomcat document.

Re: CGIServlet - php

2011-09-03 Thread throwsCode
to Tomcat 7 the main document is CGI How To (very small) this I believe I implemented, no joy. The second document that had some value was the CGIServlet Class document. I did go through FAQ and copied some stuff but its not at my finger tips, I'll include the references in my reply.

Re: CGIServlet - php

2011-09-03 Thread Konstantin Kolinko
2011/9/3 throwsCode : > I do not quite understand you. > I'm trying to implement PHP on tomcat 7.0.20 with no luck.  Does anyone know > how I can tell whether the CGIServlet is running? > > I uncommented all of the sections indicated in the Tomcat document. What sections? W

Re: CGIServlet - php

2011-09-03 Thread throwsCode
. Looking back I never should have jumped on that Woodstock ride. Too soon old, too late smart. TC -- View this message in context: http://old.nabble.com/CGIServlet---php-tp32390310p32392261.html Sent from the Tomcat - User mailing list archive at Nabble.com

Re: CGIServlet - php

2011-09-02 Thread Hassan Schroeder
On Fri, Sep 2, 2011 at 9:25 PM, throwsCode wrote: > I am predominantly a JSF/Facelets/IceFaces developer but recently I have > been asked to assist some non-profits which calls for php. Yeah, that's similar to how I got sucked into doing PHP too :-) (Fool me once, shame on me yadda yadda...) >

Re: CGIServlet - php

2011-09-02 Thread throwsCode
n the Tomcat approach. Thanks for you comments. TC -- View this message in context: http://old.nabble.com/CGIServlet---php-tp32390310p32390812.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscri

Re: CGIServlet - php

2011-09-02 Thread Hassan Schroeder
On Fri, Sep 2, 2011 at 5:06 PM, throwsCode wrote: > I'm trying to implement PHP on tomcat 7.0.20 Dear god, why? I would rather duct-tape rabid weasels inside my shorts than do, well, anything with PHP again, but if you must -- just use Apache HTTPD. Seriously. -- Hassan Schroeder ---

Re: CGIServlet - php

2011-09-02 Thread throwsCode
ble 5 AND cgi /cgi-bin/* I would appreciate any advice you might offer. TC -- View this message in context: http://old.nabble.com/CGIServlet---php-tp32390310p32390388.html Sent from the Tomcat - User mailing list archive

CGIServlet - php

2011-09-02 Thread throwsCode
Hi all: I'm trying to implement PHP on tomcat 7.0.20 with no luck. Does anyone know how I can tell whether the CGIServlet is running? I uncommented all of the sections indicated in the Tomcat document. Though I think I am making the right call, I am receiving a 400 error. CALL made

RE: CGIServlet followed by a Filter that modifies the response

2010-07-26 Thread Caldarale, Charles R
> From: Anthony Brew [mailto:atb...@gmail.com] > Subject: Re: CGIServlet followed by a Filter that modifies the response > > > Unfortunately I am coming across the following: > > > > java.lang.IllegalStateException: getWriter() has already > > been called for thi

Re: CGIServlet followed by a Filter that modifies the response

2010-07-25 Thread Anthony Brew
> I had hoped to use a CGIServlet to do some stuff for me and then modify the > response on the fly on the way back with a > > like this: > > > mod > com.util.web.PageFilter > > > > mod >

Re: Enabling CGIServlet causes SecurityException in Tomat 6

2010-06-02 Thread Joe Hansen
ing to the webapplication's web.xml file. Thanks, Joe On Wed, Jun 2, 2010 at 5:07 PM, Joe Hansen wrote: > Hey All, > > We are using Tomcat 6 on a RedHat box. > > Today I installed AWStats and AWStats needs CGI. So I enabled the > CGIServlet in the Tomcat's web.xml file. When I r

Enabling CGIServlet causes SecurityException in Tomat 6

2010-06-02 Thread Joe Hansen
Hey All, We are using Tomcat 6 on a RedHat box. Today I installed AWStats and AWStats needs CGI. So I enabled the CGIServlet in the Tomcat's web.xml file. When I restarted Tomcat, I got the following error message: SEVERE: Error deploying web application directory

Re: CGIServlet in Tomcat 6

2008-09-10 Thread samk
See Thread at: http://www.techienuggets.com/Detail?tx=4877 Posted on behalf of a User In order to add privileged="true" property simply edit $CATALINA_HOME/conf/context.xml replace tag by In Response To: Hi all, I'm using CGI servlet in Tomcat 5 without any problem, but with Tomcat 6 I get

Re: CGIServlet in Tomcat 6

2008-08-13 Thread Konstantin Kolinko
2008/8/13 Mark Thomas <[EMAIL PROTECTED]>: > > The privileged attribute needs to be set on the context. > In your own web application create a file, META-INF/context.xml, with the following content: See the manager application for an example. Then redeploy your application, and it should work

Re: CGIServlet in Tomcat 6

2008-08-13 Thread Mark Thomas
Martin Gainty wrote: grant tomcat access to CGIServlet.jar edit $TOMCAT_HOME/conf/catalina.policy grant codeBase "file:${catalina.home}/webapps/YourWebApp/WEB-INF/lib/CGIServlet.jar" { permission java.security.AllPermission; }; HTH That won't help at all. The CGIServl

RE: CGIServlet in Tomcat 6

2008-08-13 Thread Martin Gainty
contained within this transmission. > Date: Tue, 12 Aug 2008 14:32:50 -0500 > From: [EMAIL PROTECTED] > To: users@tomcat.apache.org > Subject: Re: CGIServlet in Tomcat 6 > > See Thread at: http://www.techienuggets.com/Detail?tx=4877 Posted on behalf > of a User > > Add

Re: CGIServlet in Tomcat 6

2008-08-12 Thread samk
See Thread at: http://www.techienuggets.com/Detail?tx=4877 Posted on behalf of a User Add it where exactly? In $CATALINA_HOME/conf/context.xml? In $CATALINA_HOME/conf/server.xml? Please provide the exact path and a snippet of the code... In Response To: Hi all, I'm using CGI servlet in

Tomcat 5.0.27, JDK 1.3.1 - NoSuchMethodError in CGIServlet$CGIEnvironment

2008-07-03 Thread sridharmnj
message in context: http://www.nabble.com/Tomcat-5.0.27%2C-JDK-1.3.1---NoSuchMethodError-in-CGIServlet%24CGIEnvironment-tp18260158p18260158.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new

Re: CGIServlet in Tomcat 6

2008-03-14 Thread rachmat
> See Thread at: http://www.techienuggets.com/Detail?tx=4877 Posted on > behalf of a User > > Sorry for a kind of a necropost, but is't enough to add privileged="true" > to the root tag of main context.xml which is in > $CATALINA_HOME/conf/context.xml > > In Response To: > > Hi all, > > I'm using C

Re: CGIServlet in Tomcat 6

2008-03-13 Thread samk
See Thread at: http://www.techienuggets.com/Detail?tx=4877 Posted on behalf of a User Sorry for a kind of a necropost, but is't enough to add privileged="true" to the root tag of main context.xml which is in $CATALINA_HOME/conf/context.xml In Response To: Hi all, I'm using CGI servlet in Tom

Re: CGIServlet

2007-07-02 Thread Robert J. Carr
er. ... Tomcat is the one that processes the servlet mappings, so the CGIServlet needs to be visible only to Tomcat, not the rest of the webapp. GREAT explanation ... I hadn't looked at it this way. Thank you very muc

RE: CGIServlet

2007-07-01 Thread Caldarale, Charles R
> From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] > Subject: RE: CGIServlet > > > So, in summary, you're saying the only way I can get CGIServlet > > defined in a single webapp is to leave servlets-cgi.jar in > > /server/lib and require an administrator

RE: CGIServlet

2007-07-01 Thread Caldarale, Charles R
> From: Robert J. Carr [mailto:[EMAIL PROTECTED] > Subject: Re: CGIServlet > > http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html > > So I'm not following, are the resources "TOTALLY invisible to web > applications" or are they "made

Re: CGIServlet

2007-06-30 Thread Robert J. Carr
Thanks for the quick reply, I don't believe I've tried that, but it isn't the complete solution I was looking for. Remember, tomcat (5.5) is shipped with the CGIServlet jar in a package named /server/lib/servlets-cgi.renametojar. Using your solution would remove the servlet

Re: CGIServlet

2007-06-30 Thread Mark Thomas
Robert J. Carr wrote: > To do this, I simply put the servlet definitions into my own web.xml, > and then put the servlets-cgi.jar into my own lib. When doing this, I > get a ClassNotFound exception on CGIServlet. Try just putting the definition in your web.xml and leave the jar wh

CGIServlet

2007-06-29 Thread Robert J. Carr
I'd like to use some basic CGI in my webapp but I don't want to rely on server admins to set it up per the directions of the how to (found at http://tomcat.apache.org/tomcat-5.5-doc/cgi-howto.html). When I follow those directions, everything works fine, however I'd like to put

Re: CGIServlet in Tomcat 6

2007-01-23 Thread Yannick Haudry
ok, now it works ! thanks for your answer Martin Yannick On 1/23/07, Martin Dubuc <[EMAIL PROTECTED]> wrote: Not sure if this is all that is required, but in the Context section of the webapp context.xml file, you need to add privileged=true property. Martin On 1/23/07, Yannick Haudry <[EMAIL

Re: CGIServlet in Tomcat 6

2007-01-23 Thread Martin Dubuc
Not sure if this is all that is required, but in the Context section of the webapp context.xml file, you need to add privileged=true property. Martin On 1/23/07, Yannick Haudry <[EMAIL PROTECTED]> wrote: Hi all, I'm using CGI servlet in Tomcat 5 without any problem, but with Tomcat 6 I get thi

CGIServlet in Tomcat 6

2007-01-23 Thread Yannick Haudry
Hi all, I'm using CGI servlet in Tomcat 5 without any problem, but with Tomcat 6 I get this error when deploying my web application: java.lang.SecurityException: Servlet of class org.apache.catalina.servlets.CGIServlet is privileged and cannot be loaded by this web application In Tomcat 6, I no