Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: while loop with diamond operator

by SerZKO (Beadle)
on Aug 07, 2012 at 18:37 UTC ( #986057=note: print w/replies, xml ) Need Help??


in reply to while loop with diamond operator

As blue_cowdawg said, Tomcat doesn't support CGI by default. You have to do 3 things:

1. Rename file servlets-cgi.renametojar (under your tomcat servlet directory) to servlets-cgi.jar

2. Modify your web.xml (usually under ../server/default/deploy/conf/) and uncomment whole part arround cgi servlet (don't forget mapping inside same file)

3. Modify context.xml file (usually under ../web.deployer directory) and add privileged="true" in < Context... >line, so it looks something like this <Context cookies="true" crossContext="true" privileged="true">

And that would make CGI work on your Tomcat 5 or 6 server

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://986057]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2016-12-10 13:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (163 votes). Check out past polls.