You don't need both an RT4 and a fcgid conf file. Paste exactly what I put in my previous reply (correcting for obvious path differences) into, say, a file named rt.conf and then rename your current RT-associated config files to something like rt4.conf.old and fcgid.conf.old then restart.<br>
<br>Let's try to get it to work outside of a virtual host first then let's examine the errors.<br><br>You should also set the following (or something like it) in your site config file.<br><br>Set($WebPath , "/rt");<br>
Set($WebBaseURL , "https://<actual server name>");<br>Set($WebImagesURL , $WebPath . "/NoAuth/images/");<br><br>Once you get this working, then you can try mucking around with a virtual host.<br>
<br>Note, that I'm also running /opt/rt3/bin/mason_handler.fcgi vs. sbin/rt-server.fcgi.<br><br>Obviously, I'm still running RT3 and I haven't read the documentation about fast CGI use under RT4.<br><br><div class="gmail_quote">
On Fri, Jul 1, 2011 at 2:08 PM, John Alberts <span dir="ltr"><<a href="mailto:John.Alberts@exlibrisgroup.com">John.Alberts@exlibrisgroup.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="word-wrap:break-word;color:rgb(0, 0, 0);font-size:14px;font-family:Calibri, sans-serif">
<div>
<div>
<div>I gave it another try using fcgid and now I have errors about running it being configured to run on the wrong port, which makes no sense.</div>
<div><br>
</div>
<div>Here is the apache error log</div>
<div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px">[Fri Jul 01 13:58:24 2011] [warn] module fcgid_module is already loaded, skipping</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px">[Fri Jul 01 13:58:24 2011] [notice] Digest: generating secret for digest authentication ...</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px">[Fri Jul 01 13:58:24 2011] [notice] Digest: done</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px">[Fri Jul 01 13:58:24 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px">[Fri Jul 01 13:58:27 2011] [warn] mod_fcgid: stderr: [Fri Jul 1 18:58:27 2011] [warn]: The actual SERVER_PORT (80) does
NOT match the configured WebPort (443). Perhaps you should Set($WebPort, 80); in RT_SiteConfig.pm, otherwise your internal links may be broken. (/opt/rt4/sbin/../lib/RT/Interface/Web.pm:1079)</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px">[Fri Jul 01 13:58:27 2011] [warn] mod_fcgid: stderr: [Fri Jul 1 18:58:27 2011] [warn]: The actual SERVER_NAME (<a href="http://aspdev.hosted.exlibrisgroup.com" target="_blank">aspdev.hosted.exlibrisgroup.com</a>)
does NOT match the configured WebDomain (<a href="http://helpdesk.hosted.exlibrisgroup.com" target="_blank">helpdesk.hosted.exlibrisgroup.com</a>). Perhaps you should Set($WebDomain, '<a href="http://aspdev.hosted.exlibrisgroup.com" target="_blank">aspdev.hosted.exlibrisgroup.com</a>'); in R</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px">[Fri Jul 01 13:58:31 2011] [warn] mod_fcgid: stderr: T_SiteConfig.pm, otherwise your internal links may be broken. (/opt/rt4/sbin/../lib/RT/Interface/Web.pm:1092)</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px">[Fri Jul 01 13:58:31 2011] [warn] mod_fcgid: stderr: [Fri Jul 1 18:58:27 2011] [warn]: The actual SCRIPT_NAME () does
NOT match the configured WebPath (/rt4). Perhaps you should Set($WebPath, ''); in RT_SiteConfig.pm, otherwise your internal links may be broken. (/opt/rt4/sbin/../lib/RT/Interface/Web.pm:1097)</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px">[Fri Jul 01 13:59:04 2011] [notice] caught SIGTERM, shutting down</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px">[Fri Jul 01 13:59:04 2011] [notice] mod_fcgid: process /opt/rt4/sbin/rt-server.fcgi(22499) exit(shutting down), get stop
signal 15</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px"><br>
</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px">[Fri Jul 01 13:59:19 2011] [notice] Digest: generating secret for digest authentication ...</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px">[Fri Jul 01 13:59:19 2011] [notice] Digest: done</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px">[Fri Jul 01 13:59:20 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations</span></font></span></div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>You can see above, after I remove the rt4.conf file, apache works fine.</div>
<div>Here is my fcgid configuration for RT. When yum installed fcgid, it created a fcgid.conf file, so I'm showing that as well.</div>
<div><br>
</div>
<div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px">-=>>cat fcgid.conf </span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px"># This is the Apache server configuration file for providing FastCGI support</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px"># through mod_fcgid</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px">#</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px"># Documentation is available at <a href="http://fastcgi.coremail.cn/doc.htm" target="_blank">http://fastcgi.coremail.cn/doc.htm</a></span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px"><br>
</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px">LoadModule fcgid_module modules/mod_fcgid.so</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px"><br>
</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px"># Use FastCGI to process .fcg .fcgi & .fpl scripts</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px"># Don't do this if mod_fastcgi is present, as it will try to do the same thing</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px"><IfModule !mod_fastcgi.c></span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px"> AddHandler fcgid-script fcg fcgi fpl</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px"></IfModule></span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px"><br>
</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px"># Sane place to put sockets and shared memory file</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px">SocketPath /var/run/mod_fcgid</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px">SharememPath /var/run/mod_fcgid/fcgid_shm</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px">--- .:root@aspdev:. (/etc/httpd/conf.d)</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px">-=>>cat rt4.conf</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px">LoadModule fcgid_module modules/mod_fcgid.so</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px"><br>
</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px"><VirtualHost <a href="http://helpdesk.hosted.exlibrisgroup.com" target="_blank">helpdesk.hosted.exlibrisgroup.com</a>></span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px"> ### Optional apache logs for RT</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px"> # Ensure that your log rotation scripts know about these files</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px"> # ErrorLog /opt/rt4/var/log/apache2.error</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px"> # TransferLog /opt/rt4/var/log/apache2.access</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px"> # LogLevel debug</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px"><br>
</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px"> AddDefaultCharset UTF-8</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px"><br>
</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px"> Alias /NoAuth/images/ /opt/rt4/share/html/NoAuth/images/</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px"> ScriptAlias / /opt/rt4/sbin/rt-server.fcgi/</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px"><br>
</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px"> DocumentRoot "/opt/rt4/share/html"</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px"> <Location /rt4></span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px"> Order allow,deny</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px"> Allow from all</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px"><br>
</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px"> Options +ExecCGI</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px"> AddHandler fcgid-script fcgi</span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px"> </Location></span></font></span></div>
<div><span style="font-family:Consolas"><font size="3"><span style="font-size:12px"></VirtualHost></span></font></span></div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>If I remove the rt4.conf file and restart the server, apache works fine and all of my other sites work just fine, even with ssl.</div>
<div><br>
</div>
<div><br></div></div></div></div></blockquote><div> </div></div>-- <br>James Moseley<br>610-934-7307<br>