You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Sarah Parrott <pa...@googlemail.com> on 2006/07/08 11:17:25 UTC

Re: cgi-bin doesn't seem to work

Thanks for that! Setting it to an empty string works.

Sarah

PS - been away hence the long reply time!

On 30/06/06, Mark Thomas <ma...@apache.org> wrote:
>
> Sarah Parrott wrote:
> <snip/>
> > and put the program I want to run (Mapserver. The file is just called
> > mapserv.) in that directory.
> >
> > When I go to http://localhost:8080/cgi-bin/mapserv I just get a blank
> page.
> > No errors and not what I'm expecting to get. I've tried restarting
> tomcat,
> > and playing about with the URL but I either get an error or the same
> blank
> > page.
> >
> > Any ideas what I'm doing wrong?
>
> By default, the CGIServlet is going to call "perl mapserv" which I
> suspect will fail since I assume mapserv is an executable rather than
> a perl script.
>
> Try setting the executable parameter (see the HowTo) to an empty
> string. ( I haven't tested this). Alternatively, set it to mapserv and
> see if that works.
>
> Mark
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>