<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Clearview Informatics &#187; Web Servers</title>
	<atom:link href="http://www.clearviewinformatics.com/category/web-servers/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.clearviewinformatics.com</link>
	<description>Business Productivity Solutions in the Cloud.</description>
	<lastBuildDate>Thu, 28 Jan 2010 02:26:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Configuring an Apache web server for Cognos 8 BI Server</title>
		<link>http://www.clearviewinformatics.com/2008/05/13/configuring-an-apache-web-server-for/</link>
		<comments>http://www.clearviewinformatics.com/2008/05/13/configuring-an-apache-web-server-for/#comments</comments>
		<pubDate>Tue, 13 May 2008 17:36:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cognos 8]]></category>
		<category><![CDATA[Web Servers]]></category>

		<guid isPermaLink="false">http://www.clearviewinformatics.com/2008/05/13/configuring-an-apache-web-server-for/</guid>
		<description><![CDATA[The first post-installation task after installing Cognos 8 is to configure the web server gateway. This article will step through configuring Apache for use with Cognos 8. For Cognos ReportNet, the same instructions apply, but the directories will be different.Create the web aliases or virtual directories.




Virtual  directory
File System Directory
Permission Required


cognos8
c8/webcontent
read


cognos8/cgi-bin
c8/cgi-bin
execute




c8 represents where Cognos 8 [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>The first post-installation task after installing Cognos 8 is to configure the web server gateway. This article will step through configuring <a id="c6pt" title="Apache" href="http://httpd.apache.org/" target="_blank">Apache</a> for use with <a id="l3jz" title="Cognos 8" href="http://www.cognos.com/products/cognos8businessintelligence/index.html" target="_blank">Cognos 8</a>. For Cognos ReportNet, the same instructions apply, but the directories will be different.<br id="huoa0" /><br id="huoa1" /><span id="s5h20"><strong>Create the web aliases or virtual directories.</strong></span><br id="hef-0" /><br id="of7v0" /></p>
<div id="b2.r0">
<table id="gfaq" style="height: 90px;" border="1" cellspacing="0" cellpadding="3" width="542" bordercolor="#000000">
<tbody id="b2.r1">
<tr id="b2.r2">
<td id="b2.r3" width="33%"><strong>Virtual  directory<br id="b2.r4" /></strong></td>
<td id="b2.r5" width="33%"><strong>File System Directory<br id="b2.r6" /></strong></td>
<td id="b2.r7" width="33%"><strong>Permission Required<br id="b2.r8" /></strong></td>
</tr>
<tr id="b2.r9">
<td id="b2.r10" width="33%">cognos8<br id="b2.r11" /></td>
<td id="b2.r12" width="33%">c8/webcontent<br id="b2.r13" /></td>
<td id="b2.r14" width="33%">read<br id="b2.r15" /></td>
</tr>
<tr id="b2.r16">
<td id="b2.r17" width="33%">cognos8/cgi-bin<br id="b2.r18" /></td>
<td id="b2.r19" width="33%">c8/cgi-bin<br id="b2.r20" /></td>
<td id="b2.r21" width="33%">execute<br id="b2.r22" /></td>
</tr>
</tbody>
</table>
</div>
<p><br id="of7v1" />c8 represents where Cognos 8 is installed.</p>
<p><span id="more-98"></span><br id="q-ew1" />Find the httpd.conf file in the Apache/conf directory. Make a copy of this file as a backup. (Either copy it to another directory or make a copy with a different name.) Open the httpd.conf file in a text editor. <br id="nf4-0" /><br id="nf4-1" />At the bottom of the file, add the following lines:<br id="nf4-2" /></p>
<pre>ScriptAlias /cognos8/cgi-bin "c:/program files/cognos/c8/cgi-bin"
&lt;Directory "c:/program files/cognos/c8/cgi-bin"&gt;
Options FollowSymLinks
AllowOverride FileInfo
Order Allow,Deny
Allow from All
&lt;/Directory&gt;

Alias /cognos8 "c:/program files/cognos/c8/webcontent"
&lt;Directory "c:/program files/cognos/c8/webcontent"&gt;
Options FollowSymLinks
AllowOverride FileInfo
Order Allow,Deny
Allow from All
&lt;/Directory&gt;</pre>
<p>Save the http.conf file and restart Apache. <br id="s_8j2" /> <br id="lp9j0" /> Going to the virtual directory (ex., http://localhost/cognos8) will now bring up the Cognos 8 welcome page.<br id="zmi92" /></p>
<div id="s892" style="padding: 1em 0pt; text-align: left;"><img id="p:sd0" style="width: 802px; height: 464px;" src="http://docs.google.com/File?id=dg3hk3rm_196cbjgnghd_b" alt="" /></div>
<p><span id="rbz_0" style="font-size: 10pt" lang="EN-US"><span style="font-size: 10pt;"><span id="tjww0"><strong>Notes:</strong></span></span></span></p>
<hr id="fcnx0" style="width: 100%; height: 2px;" />
<ul>
<li><span id="rbz_0" style="font-size: 10pt" lang="EN-US">The ScriptAlias section must be before the Alias section.</span></li>
<li><span id="rbz_0" style="font-size: 10pt" lang="EN-US"><span style="font-size: 10pt;">The actual directory path has quotation marks around it because of the space in the path; otherwise, the quotation marks are not necessary.</span></span></li>
<li>By default, access to any directories on the server is denied by Apache. The <span style="font-size: x-small;"><span id="rbz_0" style="font-size: 11pt;" lang="EN-US"><span>&lt;Directory&gt;</span></span></span> section explicitly allows Apache to access the Cognos 8 directories. If this is mis-configured, then you will see the a 403 error, and &#8220;client denied by server configuration&#8221; errors in the Apache error.log file.</li>
<li><span id="rbz_0" style="font-size: 11pt" lang="EN-US">The &#8220;</span>cognos8&#8243; string can be changed to another name, but only if the Gateway URI parameter in Cognos Configuration is also changed. The cgi-bin string cannot be changed.</li>
</ul>
<div id="c2fz" style="padding: 1em 0pt; text-align: left;"><img id="i1bn0" style="width: 738px; height: 538px;" src="http://docs.google.com/File?id=dg3hk3rm_191cgmdjb9h_b" alt="" /></div>
<p><span id="r7bj0"><strong>Troubleshooting</strong></span></p>
<hr id="zser1" style="width: 100%; height: 2px;" /><br id="mx-91" /><span id="pyr60"><strong>Apache will not start after editing the httpd.conf file</strong></span><br id="ylhx2" /><br id="ylhx3" />If Apache will not start, there is likely a problem with the syntax in the httpd.conf file. Hopefully the message will give an indication of the problem. If you cannot find the problem, revert to the backup copy and start again.<br id="mx-93" /></p>
<div id="h2je" style="padding: 1em 0pt; text-align: left;"><img id="mx-94" style="width: 568px; height: 168px;" src="http://docs.google.com/File?id=dg3hk3rm_192gjwgcx6n_b" alt="" /><br id="r7bj1" /><br id="r7bj2" /><span id="np6p0"><strong>404 error &#8211; Object not found</strong></span><br id="n4g20" /><br id="n4g21" />The 404 error indicates that the virtual directory does not exist. Double check the alias names in the httpd.conf file.<br id="ttzy1" /></p>
<div id="yjzm" style="padding: 1em 0pt; text-align: left;"><img id="ttzy2" style="width: 806px; height: 279px;" src="http://docs.google.com/File?id=dg3hk3rm_194xqhj5tfq_b" alt="" /></div>
<p><span id="kcuf0"><strong>403 error &#8211; Access forbidden</strong></span><br id="kvwj0" /><br id="kvwj1" />The 403 error indicates a permissions problem. The Apache server might be running under an account that does not have read access to the Cognos 8 directories. Another possibility is that the alias is pointing to the wrong directory. The error.log file in the apache/logs directory should have an error message with more specific details.<br id="wi105" /></p>
<div id="dmkm" style="padding: 1em 0pt; text-align: left;"><img id="kvwj2" style="width: 758px; height: 282px;" src="http://docs.google.com/File?id=dg3hk3rm_193hgg4txgn_b" alt="" /></div>
<p>Another item to check is to ensure that the web server has read access to the cogstartup.xml file in the c8/configuration directory.<br id="d2zt0" /><br id="qf-v0" /><span id="zdi90"><strong>Unable to connect to the Cognos BI server<br id="au.t0" /><br id="au.t1" /></strong></span><span id="zdi90">If you see this error, then the virtual directories are configured correctly. The problem is that the Cognos 8 service is not running.</span><br id="qf-v2" /></p>
<div id="qdqr" style="padding: 1em 0pt; text-align: left;"><img id="rndl0" style="width: 893px; height: 196px;" src="http://docs.google.com/File?id=dg3hk3rm_195p2jvm6hc_b" alt="" /></div>
</div>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Configuring+an+Apache+web+server+for+Cognos+8+BI+Server+http://eo82i.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.clearviewinformatics.com/wp-content/plugins/tweet-this/icons/tt-twitter-micro3.png" alt="Post to Twitter" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.clearviewinformatics.com/2008/05/13/configuring-an-apache-web-server-for/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
	</channel>
</rss>
