tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Findly <>
Subject Re: Question about config and correct start-up
Date Mon, 14 Jan 2013 20:29:46 GMT
   Thanks for your quick response.  Here are the items & issues: 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

but the instructions are vague--non-specific for individual attributes.
Should it be stated this way, in the context file:


It could be thus:


or, should it be this way:


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 <>
>> To:
>> 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?
> 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:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message