![]() |
|
HTTP headers can be viewed when CGI is executing in debug mode. To start CGI in debug mode, set the system variable cgiDebug to true while starting the server. To do so, add the following property to <install_dir>/server/bin/runserver.bat file: -DcgiDebug=true
For example:
java -server
-DcgiDebug=true
-Dinstall.root=$install_root
-Djava.security.policy=$install_root/lib/pramati/pramati.java.policy
-Djava.security.auth.policy=$install_root/lib/pramati/pramati.jaas.policy
-Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter
-Dorg.xml.sax.driver=org.apache.crimson.parser.XMLReaderImpl com.pramati.Server
This starts Server with CGI in debug mode. Using the -shell option opens a Shell prompt for execution of other Server-related tasks.
Related Topics:
| © Pramati Technologies 2007 | Runs on Pramati Server | Feedback | Legal |