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

Reply via email to