Appboard/2.4/admin/enabling cgi: Difference between revisions
imported>Jason.nicholls No edit summary |
imported>Jason.nicholls No edit summary |
||
Line 6: | Line 6: | ||
To enable CGI follow these steps: | To enable CGI follow these steps: | ||
# Edit <tt>[INSTALL_HOME]/server/conf/web.xml</tt> | |||
## uncomment the CGI servlet section, lines 333 through 347 | |||
## uncomment the CGI servlet-mapping section, lines 381 through 386 | |||
## save changes. | |||
# Edit <tt>[INSTALL_HOME]/server/conf/context.xml</tt> | |||
## add the parameter <tt>privileged="true"</tt> to the <Context ... > tag on line 19. | |||
## save changes. | |||
# Restart AppBoard. | |||
{{Note|Changes to web.xml and context.xml are '''not''' archived by default. While it's possible to change the archive properties files and include these files they are considered systems files and may change release to release. In other words, on upgrade it must be verified the there are no changes to these files (beyond enabling CGI).}} | {{Note|Changes to web.xml and context.xml are '''not''' archived by default. While it's possible to change the archive properties files and include these files they are considered systems files and may change release to release. In other words, on upgrade it must be verified the there are no changes to these files (beyond enabling CGI).}} |
Revision as of 05:47, 19 September 2013
AppBoard runs on an Apache Tomcat server that can be configured to run CGI scripts.
To enable CGI follow these steps:
- Edit [INSTALL_HOME]/server/conf/web.xml
- uncomment the CGI servlet section, lines 333 through 347
- uncomment the CGI servlet-mapping section, lines 381 through 386
- save changes.
- Edit [INSTALL_HOME]/server/conf/context.xml
- add the parameter privileged="true" to the <Context ... > tag on line 19.
- save changes.
- Restart AppBoard.