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


Comment on Re: while loop with diamond operator
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://986057]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2014-07-28 13:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (197 votes), past polls