<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://ab.edge-technologies.com/docs/index.php?action=history&amp;feed=atom&amp;title=Enportal%2F5.6%2Fadmin%2Fenabling_cgi</id>
	<title>Enportal/5.6/admin/enabling cgi - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://ab.edge-technologies.com/docs/index.php?action=history&amp;feed=atom&amp;title=Enportal%2F5.6%2Fadmin%2Fenabling_cgi"/>
	<link rel="alternate" type="text/html" href="http://ab.edge-technologies.com/docs/index.php?title=Enportal/5.6/admin/enabling_cgi&amp;action=history"/>
	<updated>2026-05-21T05:23:06Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.4</generator>
	<entry>
		<id>http://ab.edge-technologies.com/docs/index.php?title=Enportal/5.6/admin/enabling_cgi&amp;diff=8464&amp;oldid=prev</id>
		<title>imported&gt;Jason.nicholls: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://ab.edge-technologies.com/docs/index.php?title=Enportal/5.6/admin/enabling_cgi&amp;diff=8464&amp;oldid=prev"/>
		<updated>2015-04-30T11:18:23Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:18, 30 April 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>imported&gt;Jason.nicholls</name></author>
	</entry>
	<entry>
		<id>http://ab.edge-technologies.com/docs/index.php?title=Enportal/5.6/admin/enabling_cgi&amp;diff=8463&amp;oldid=prev</id>
		<title>imported&gt;Jason.nicholls: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://ab.edge-technologies.com/docs/index.php?title=Enportal/5.6/admin/enabling_cgi&amp;diff=8463&amp;oldid=prev"/>
		<updated>2014-07-10T05:08:56Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:enPortal 5.6]]&lt;br /&gt;
{{DISPLAYTITLE:Enabling CGI}}&lt;br /&gt;
&lt;br /&gt;
enPortal runs on an Apache Tomcat server that can be configured to run CGI scripts. However, enabling CGI can introduce additional load on the enPortal server and raises its own security concerns. This document simply covers enabling CGI but thought should go into the issues mentioned.&lt;br /&gt;
&lt;br /&gt;
An alternative is to set up a separate web server environment for custom applications and then include the content via enPortal proxy channels.&lt;br /&gt;
&lt;br /&gt;
=== Steps to Enable CGI ===&lt;br /&gt;
&lt;br /&gt;
# Edit &amp;lt;tt&amp;gt;[INSTALL_HOME]/server/conf/web.xml&amp;lt;/tt&amp;gt;&lt;br /&gt;
## uncomment the CGI servlet section, lines 333 through 347&lt;br /&gt;
## uncomment the CGI servlet-mapping section, lines 381 through 386&lt;br /&gt;
## save changes.&lt;br /&gt;
# Edit &amp;lt;tt&amp;gt;[INSTALL_HOME]/server/conf/context.xml&amp;lt;/tt&amp;gt;&lt;br /&gt;
## add the parameter &amp;lt;tt&amp;gt;privileged=&amp;quot;true&amp;quot;&amp;lt;/tt&amp;gt; to the &amp;lt;tt&amp;gt;&amp;lt;Context ... &amp;gt;&amp;lt;/tt&amp;gt; tag on line 19.&lt;br /&gt;
## save changes.&lt;br /&gt;
## create the directory &amp;lt;tt&amp;gt;[INSTALL_HOME]/server/webapps/enportal/WEB-INF/&amp;#039;&amp;#039;&amp;#039;cgi&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
# Restart enPortal.&lt;br /&gt;
&lt;br /&gt;
{{Note|Changes to &amp;lt;tt&amp;gt;web.xml&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;context.xml&amp;lt;/tt&amp;gt; are &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; archived by default. If changes are made to include these files in archives then they must be manually verified to match the latest version on upgrade. These are considered system files and may change release to release.}}&lt;br /&gt;
&lt;br /&gt;
=== Additional Information ===&lt;br /&gt;
&lt;br /&gt;
The default CGI options are as follows:&lt;br /&gt;
&lt;br /&gt;
* CGI interpreter is the system &amp;lt;tt&amp;gt;perl&amp;lt;/tt&amp;gt;. To change this it&amp;#039;s necessary to modify the CGI servlet section and set the &amp;lt;tt&amp;gt;executable&amp;lt;/tt&amp;gt; parameter.&lt;br /&gt;
* CGI files should be placed into &amp;lt;tt&amp;gt;[INSTALL_HOME]/server/webapps/enportal/WEB-INF/cgi/&amp;lt;/tt&amp;gt;&lt;br /&gt;
* URL to access CGIs: &amp;lt;tt&amp;gt;[http://localhost:8080/enportal/cgi-bin/sample.cgi /enportal/cgi-bin/&amp;#039;&amp;#039;sample.cgi&amp;#039;&amp;#039;]&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For more information on CGI in Tomcat please refer to the [http://tomcat.apache.org/tomcat-7.0-doc/cgi-howto.html Tomcat CGI How To] documentation.&lt;/div&gt;</summary>
		<author><name>imported&gt;Jason.nicholls</name></author>
	</entry>
</feed>