[rt-users] RT 4.4.0 Apache loads text of rt-server fcgi rather than login

Piotr Szymborski piotr.szymborski at comarch.pl
Fri Feb 19 13:25:37 EST 2016


Hi Brad,

for starters mod_fastcgi is not the same as mod_fcgid, you need to 
configure it differently.
Look on 
https://www.bestpractical.com/docs/rt/4.4/web_deployment.html#mod_fcgid 
vs https://www.bestpractical.com/docs/rt/4.4/web_deployment.html#mod_fastcgi
Just ctrl+c,ctrl+v that code to your apache config, modify directory to 
rt if it differs and it should work using mod_fcgid.

Best regards,
Piotr Szymborski

On 2016-02-19 18:49, Brad wrote:
> Hi Matt,
>
> yum install mod_fcgid
> Loaded plugins: fastestmirror, rhnplugin
> This system is receiving updates from RHN Classic or Red Hat Satellite.
> Loading mirror speeds from cached hostfile
> Package mod_fcgid-2.3.9-4.el7.x86_64 already installed and latest version
> Nothing to do
>
>
> added to siteconf:
>
> FastCgiServer /opt/rt4/sbin/rt-server.fcgi -processes 5 -idle-timeout 300
>
>
> restarted httpd and it errors:
>
>
> Invalid command 'FastCgiServer', perhaps misspelled or defined by a
> module not included in the server configuration
>
>
>
> Now I dont see any reference for where yum puts this but a locate pulls:
> /usr/lib/tmpfiles.d/mod_fcgid.conf
> /usr/lib64/httpd/modules/mod_fcgid.so
> /usr/share/doc/mod_fcgid-2.3.9
> /usr/share/doc/mod_fcgid-2.3.9/CHANGES-FCGID
> /usr/share/doc/mod_fcgid-2.3.9/ChangeLog
> /usr/share/doc/mod_fcgid-2.3.9/LICENSE-FCGID
> /usr/share/doc/mod_fcgid-2.3.9/NOTICE-FCGID
> /usr/share/doc/mod_fcgid-2.3.9/README-FCGID
> /usr/share/doc/mod_fcgid-2.3.9/STATUS-FCGID
> /usr/share/doc/mod_fcgid-2.3.9/fixconf.sed
> /usr/share/doc/mod_fcgid-2.3.9/mod_fcgid.html.en
>
>
> I do see some directions fromwww.fastcgi.com/mod_fastcgi/INSTALL for a
> binary build but nothing in reference to a package install but this does
> look correct, doesn't it?
>
> /usr/lib64/httpd/modules/mod_fcgid.so
>
> and the new httpd grabs these on start...?
>
>
>
> Thanks,
> Brad
>
>
>
> On 02/19/2016 12:23 PM, Matt Zagrabelny wrote:
>> On Fri, Feb 19, 2016 at 11:18 AM, Brad <bradzynda42 at comcast.net> wrote:
>>> Hi Matt,
>>>
>>> I did follow a guide not sure if it was the most recent or the one 
>>> required
>>> by RT though, used apache.org I think.
>> https://www.bestpractical.com/docs/rt/4.4/web_deployment.html#mod_fastcgi 
>>
>>
>>> Here is the siteconf, the httpd.conf and ssl.conf are base (not edited,
>>> except for servername and cipher suite)
>> The docs have a line like:
>>
>> FastCgiServer /opt/rt4/sbin/rt-server.fcgi -processes 5 -idle-timeout 
>> 300
>>
>>> <VirtualHost xxx.xxx.xxx.xxx:443>
>>> ServerName <our FQDN>
>>>
>>> LoadModule fcgid_module modules/mod_fcgid.so
>>>
>>> SSLCertificateFile /etc/pki/tls/certs/ca.crt
>>> SSLCertificateKeyFile /etc/pki/tls/private/ca.key
>>>
>>> AddDefaultCharset UTF-8
>>>
>>>           ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi
>> The docs have a trailing slash on rt-server.fcgi. Not sure if that 
>> matters.
>>
>> -m
>>
>
> ---------
> RT 4.4 and RTIR Training Sessions 
> (http://bestpractical.com/services/training.html)
> * Hamburg Germany - March 14 & 15, 2016
> * Washington DC - May 23 & 24, 2016
>




More information about the rt-users mailing list