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.
Let's try to get it to work outside of a virtual host first then let's examine the errors. You should also set the following (or something like it) in your site config file. Set($WebPath , "/rt"); Set($WebBaseURL , "https://<actual server name>"); Set($WebImagesURL , $WebPath . "/NoAuth/images/"); Once you get this working, then you can try mucking around with a virtual host. Note, that I'm also running /opt/rt3/bin/mason_handler.fcgi vs. sbin/rt-server.fcgi. Obviously, I'm still running RT3 and I haven't read the documentation about fast CGI use under RT4. On Fri, Jul 1, 2011 at 2:08 PM, John Alberts <john.albe...@exlibrisgroup.com > wrote: > 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. > > Here is the apache error log > [Fri Jul 01 13:58:24 2011] [warn] module fcgid_module is already loaded, > skipping > [Fri Jul 01 13:58:24 2011] [notice] Digest: generating secret for digest > authentication ... > [Fri Jul 01 13:58:24 2011] [notice] Digest: done > [Fri Jul 01 13:58:24 2011] [notice] Apache/2.2.3 (CentOS) configured -- > resuming normal operations > [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) > [Fri Jul 01 13:58:27 2011] [warn] mod_fcgid: stderr: [Fri Jul 1 18:58:27 > 2011] [warn]: The actual SERVER_NAME (aspdev.hosted.exlibrisgroup.com) > does NOT match the configured WebDomain (helpdesk.hosted.exlibrisgroup.com). > Perhaps you should Set($WebDomain, 'aspdev.hosted.exlibrisgroup.com'); in > R > [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) > [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) > [Fri Jul 01 13:59:04 2011] [notice] caught SIGTERM, shutting down > [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 > > [Fri Jul 01 13:59:19 2011] [notice] Digest: generating secret for digest > authentication ... > [Fri Jul 01 13:59:19 2011] [notice] Digest: done > [Fri Jul 01 13:59:20 2011] [notice] Apache/2.2.3 (CentOS) configured -- > resuming normal operations > > > You can see above, after I remove the rt4.conf file, apache works fine. > Here is my fcgid configuration for RT. When yum installed fcgid, it > created a fcgid.conf file, so I'm showing that as well. > > -=>>cat fcgid.conf > # This is the Apache server configuration file for providing FastCGI > support > # through mod_fcgid > # > # Documentation is available at http://fastcgi.coremail.cn/doc.htm > > LoadModule fcgid_module modules/mod_fcgid.so > > # Use FastCGI to process .fcg .fcgi & .fpl scripts > # Don't do this if mod_fastcgi is present, as it will try to do the same > thing > <IfModule !mod_fastcgi.c> > AddHandler fcgid-script fcg fcgi fpl > </IfModule> > > # Sane place to put sockets and shared memory file > SocketPath /var/run/mod_fcgid > SharememPath /var/run/mod_fcgid/fcgid_shm > --- .:root@aspdev:. (/etc/httpd/conf.d) > -=>>cat rt4.conf > LoadModule fcgid_module modules/mod_fcgid.so > > <VirtualHost helpdesk.hosted.exlibrisgroup.com> > ### Optional apache logs for RT > # Ensure that your log rotation scripts know about these files > # ErrorLog /opt/rt4/var/log/apache2.error > # TransferLog /opt/rt4/var/log/apache2.access > # LogLevel debug > > AddDefaultCharset UTF-8 > > Alias /NoAuth/images/ /opt/rt4/share/html/NoAuth/images/ > ScriptAlias / /opt/rt4/sbin/rt-server.fcgi/ > > DocumentRoot "/opt/rt4/share/html" > <Location /rt4> > Order allow,deny > Allow from all > > Options +ExecCGI > AddHandler fcgid-script fcgi > </Location> > </VirtualHost> > > > 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. > > > -- James Moseley 610-934-7307
-------- 2011 Training: http://bestpractical.com/services/training.html