tomcat-users mailing list archives

Site index · List index
Message view
Top
From Mark Thomas <ma...@apache.org>
Subject Re: Question about config and correct start-up
Date Mon, 14 Jan 2013 07:30:36 GMT
```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 <afindly@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??

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-unsubscribe@tomcat.apache.org