Labels

Friday, April 18, 2014

Tomcat modification steps to work perl scripts from web applications

Steps to change
1) Uncomment the CGIServlet from web.xml file under TOMCAT_HOME/CONF folder that's commented by default .



2) Uncomment mapping for the CGI Gateway servlet from web.xml file under TOMCAT_HOME/CONF folder that's commented by default







3) Add the priviliged ="true" in context.xml file under TOMCAT_HOME/CONF folder.




4) Create a cgi folder under  webapps/ROOT/WEB-INF for place CGI(perl) scripts in cgi folder .

5) Restart the Tomcat server to Pick up the new configuration


6) access the url http:// serverip:8080/cgi-bin/xxxx.pl

1 comment:

  1. Hi Tulasi,

    some of screen shots are not opening...please attach clearly..

    Thanks,
    Suresh

    ReplyDelete