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 categories:
-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 server without
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.
Thanks for the help,
Jake
2015-03-16 21:52 GMT+03:00 Jacob Haverkost jdh5...@gmail.com:
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
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
-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
This appears to be due
://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: users-h
.
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
2011/9/3 throwsCode donmillho...@yahoo.com:
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?
What
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
On 1:59 PM, Konstantin Kolinko wrote:
2011/9/3 throwsCodedonmillho...@yahoo.com:
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
...@yahoo.com:
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?
What document did you read
- Original Message -
From: throwsCode donmillho...@yahoo.com
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 together
- Original Message Edited -
From: Mark Eggers its_toas...@yahoo.com
To: Tomcat Users List users@tomcat.apache.org
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't
/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
- Original Message -
From: throwsCode donmillho...@yahoo.com
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 person who replied who
/load-on-startup
/servlet
AND
servlet-mapping
servlet-namecgi/servlet-name
url-pattern/cgi-bin/*/url-pattern
/servlet-mapping
I would appreciate any advice you might offer.
TC
--
View this message in context:
http://old.nabble.com/CGIServlet---php
On Fri, Sep 2, 2011 at 5:06 PM, throwsCode donmillho...@yahoo.com 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
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 unsubscribe, e
On Fri, Sep 2, 2011 at 9:25 PM, throwsCode donmillho...@yahoo.com 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
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 this response
Since the CGI servlet uses
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:
filter
filter-namemod/filter-name
filter-classcom.util.web.PageFilter/filter-class
/filter
filter-mapping
filter-namemod
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 docs
to the webapplication's web.xml file.
Thanks,
Joe
On Wed, Jun 2, 2010 at 5:07 PM, Joe Hansen joe.hansen...@gmail.com 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 restarted Tomcat, I
got
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 Context by Context privileged=true
In Response To:
Hi all,
I'm using CGI servlet in Tomcat 5 without any
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 it where exactly? In $CATALINA_HOME/conf
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 CGIServlet bypasses
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:
?xml version=1.0 encoding=UTF-8?
Context privileged=true /
See the manager application for an
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
this 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
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
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
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
much! Knowing is half the battle
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 visible through this class loader?
Both. You've made
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 where
it is.
Mark
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 setup from
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 the CGIServlet
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
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 this
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
40 matches
Mail list logo