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
-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
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.
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
-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
>
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
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
- 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
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
- 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'
- 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
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
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.
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.
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
.
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
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...)
>
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
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 ---
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
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
> 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
> 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
>
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
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
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
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
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
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
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
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 C
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
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
> 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
> 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
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
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
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
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
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
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
42 matches
Mail list logo