Mark:
Thanks for your quick response. Here are the items & issues:
OK....got the servlet mapping uncommented.
About the context.... the priviledged attribute must be added to the
context.xml file, as the documentation says, and, yes, I am reading the
instructions in
http://tomcat.apache.org/tomcat-7.0-doc/cgi-howto.html
but the instructions are vague--non-specific for individual attributes.
Should it be stated this way, in the context file:
<privileged>true</privileged>:
It could be thus:
<privileged="true"></privileged>
or, should it be this way:
<privileged="true">
I'll wait for your reply, but I believe it's the latter.
My testing is with tried & proven code, using the post method....scripts
that have already worked on other servers.
.......
On 1/14/2013 12:30 AM, Mark Thomas wrote:
On 14/01/2013 03:52, Alan Findly wrote:
Forgot to mention version of tomcat .....7.0.34 ..... on WindowsXP
-------- Original Message --------
Subject: Question about config and correct start-up
Date: Sun, 13 Jan 2013 19:52:55 -0700
From: Alan Findly <afin...@ronan.net>
To: users@tomcat.apache.org
Dear Tomcat user's group:
I'm having a problem getting cgi to work.
<snip/>
I've followed all the config instructions for setting it up,
including editing the conf\web.xml file to make the cgi servlet
functional, which just involves removing comment signs from around the
servlet.
You need to remove the comments around the servlet mapping as well.
Done. So, what should happen is that when I call a perl script from
html it should fire up & go.
That depends on how you are "calling a perl script from html".
But .... still no workey .... so digging further I noticed the config
document which is a README.xml ....
I don't recall any file of that name. What is its exact path on your system?
makes a vague reference to having
the correct "context" for cgi, but seemingly no other data....I'm
missing something??
Have you read the docs?
http://tomcat.apache.org/tomcat-7.0-doc/cgi-howto.html
You need to mark your context as privileged.
I've made an assumption that since I'm the only user on my PC that I
do not have to register "me" in the "Tomcat-users.xml" .... since the
role of manager-gui does not seem to apply to cgi.
Correct, assuming the resources are not protected by security constraints.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org