<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><span style="color: rgb(44, 45, 48); font-family: Slack-Lato, appleLogo, sans-serif; font-size: 15px; background-color: rgb(249, 249, 249);" class="">Hi Yanni,</span><br style="box-sizing: border-box; color: rgb(44, 45, 48); font-family: Slack-Lato, appleLogo, sans-serif; font-size: 15px;" class=""><span style="color: rgb(44, 45, 48); font-family: Slack-Lato, appleLogo, sans-serif; font-size: 15px; background-color: rgb(249, 249, 249);" class="">In order to even see mod_fastcgi, you'll need to </span><code class="special_formatting" style="box-sizing: border-box; padding: 1px 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 0.72rem; color: rgb(204, 34, 85); border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: rgb(247, 247, 249); border: 1px solid rgb(225, 225, 232); line-height: 0.72rem; font-variant-ligatures: none;"><span class="copyonly" style="box-sizing: border-box; display: inline-block; vertical-align: baseline; width: 1px; height: 0px; background-size: 0px; font-size: 0px; color: transparent; float: left; text-rendering: auto; -webkit-user-select: none; background-repeat: no-repeat no-repeat;">`</span>yum install epel-release.noarch<span class="copyonly codecopyonly" style="box-sizing: border-box; display: inline-block; vertical-align: baseline; width: 1px; height: 0px; background-size: 0px; font-size: 0px; color: transparent; float: left; text-rendering: auto; -webkit-user-select: none; background-repeat: no-repeat no-repeat;">`</span></code><span style="color: rgb(44, 45, 48); font-family: Slack-Lato, appleLogo, sans-serif; font-size: 15px; background-color: rgb(249, 249, 249);" class="">. Then, when you yum search for </span><code class="special_formatting" style="box-sizing: border-box; padding: 1px 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 0.72rem; color: rgb(204, 34, 85); border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: rgb(247, 247, 249); border: 1px solid rgb(225, 225, 232); line-height: 0.72rem; font-variant-ligatures: none;"><span class="copyonly" style="box-sizing: border-box; display: inline-block; vertical-align: baseline; width: 1px; height: 0px; background-size: 0px; font-size: 0px; color: transparent; float: left; text-rendering: auto; -webkit-user-select: none; background-repeat: no-repeat no-repeat;">`</span>fcgid<span class="copyonly codecopyonly" style="box-sizing: border-box; display: inline-block; vertical-align: baseline; width: 1px; height: 0px; background-size: 0px; font-size: 0px; color: transparent; float: left; text-rendering: auto; -webkit-user-select: none; background-repeat: no-repeat no-repeat;">`</span></code><span style="color: rgb(44, 45, 48); font-family: Slack-Lato, appleLogo, sans-serif; font-size: 15px; background-color: rgb(249, 249, 249);" class=""> you should see the package </span><code class="special_formatting" style="box-sizing: border-box; padding: 1px 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 0.72rem; color: rgb(204, 34, 85); border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: rgb(247, 247, 249); border: 1px solid rgb(225, 225, 232); line-height: 0.72rem; font-variant-ligatures: none;"><span class="copyonly" style="box-sizing: border-box; display: inline-block; vertical-align: baseline; width: 1px; height: 0px; background-size: 0px; font-size: 0px; color: transparent; float: left; text-rendering: auto; -webkit-user-select: none; background-repeat: no-repeat no-repeat;">`</span>mod_fcgid.x86_64<span class="copyonly codecopyonly" style="box-sizing: border-box; display: inline-block; vertical-align: baseline; width: 1px; height: 0px; background-size: 0px; font-size: 0px; color: transparent; float: left; text-rendering: auto; -webkit-user-select: none; background-repeat: no-repeat no-repeat;">`</span></code><span style="color: rgb(44, 45, 48); font-family: Slack-Lato, appleLogo, sans-serif; font-size: 15px; background-color: rgb(249, 249, 249);" class="">, or something close to it, since you are using CentOS 7.</span></div><div class=""><span style="color: rgb(44, 45, 48); font-family: Slack-Lato, appleLogo, sans-serif; font-size: 15px; background-color: rgb(249, 249, 249);" class=""><br class=""></span></div><div class=""><span style="color: rgb(44, 45, 48); font-family: Slack-Lato, appleLogo, sans-serif; font-size: 15px; background-color: rgb(249, 249, 249);" class="">Thank you,</span></div><div class=""><span style="color: rgb(44, 45, 48); font-family: Slack-Lato, appleLogo, sans-serif; font-size: 15px; background-color: rgb(249, 249, 249);" class="">Rachel Kelly</span></div><div class=""><span style="color: rgb(44, 45, 48); font-family: Slack-Lato, appleLogo, sans-serif; font-size: 15px; background-color: rgb(249, 249, 249);" class="">Best Practical</span></div><div class=""><span style="color: rgb(44, 45, 48); font-family: Slack-Lato, appleLogo, sans-serif; font-size: 15px; background-color: rgb(249, 249, 249);" class=""><br class=""></span></div><br class=""><div><blockquote type="cite" class=""><div class="">On Apr 26, 2016, at 4:14 AM, Martin Wheldon <<a href="mailto:martin.wheldon@greenhills-it.co.uk" class="">martin.wheldon@greenhills-it.co.uk</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi,<br class=""><br class="">The thing that stands out is that you seem to be trying to access the site using https on port 8000,<br class="">however you haven't configured apache for https.<br class=""><br class="">Could you also post the ./configure that you used with rt to the list too please.<br class=""><br class=""><br class="">Best Regards<br class=""><br class="">Martin<br class=""><br class="">On 2016-04-26 09:40, Yanni wrote:<br class=""><blockquote type="cite" class="">Thanks Martin<br class="">I thought I had to point "DocumentRoot" to where the RT login page is.<br class="">I tried to install "mod_fastcgi" as you suggested but is not available with yum.<br class="">--------------------------------------------------------------<br class="">[root@jimmy opt]# yum -y install mod_fastcgi<br class="">Loaded plugins: fastestmirror<br class="">Loading mirror speeds from cached hostfile<br class=""> * base: <a href="http://mirror.vorboss.net" class="">mirror.vorboss.net</a><br class=""> * epel: <a href="http://mirror.1000mbps.com" class="">mirror.1000mbps.com</a><br class=""> * extras: <a href="http://mirror.vorboss.net" class="">mirror.vorboss.net</a><br class=""> * rpmforge: <a href="http://miroir.univ-paris13.fr" class="">miroir.univ-paris13.fr</a><br class=""> * updates: <a href="http://centos.serverspace.co.uk" class="">centos.serverspace.co.uk</a><br class="">No package mod_fastcgi available<br class="">-------------------------------------------------------------<br class="">I also installed "rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm" and<br class="">tried to install it that way:<br class="">"yum --enablerepo=rpmforge install mod_fastcgi " but it's still not<br class="">available. There is a website called: <a href="http://www.fastcgi.com" class="">www.fastcgi.com</a> but I think is<br class="">not being maintained anymore. I also found out that with Apache 2.4,<br class="">the official module to use is "mod_proxy_fcgi". It looks like with<br class="">Centos7 I have 2 options. Either use Apache with "mod_fcgid" or go<br class="">with nginx.<br class="">I went with "mod_fcgid" and installed it with yum. I've got<br class="">"mod_fcgid-2.3.9-4.el7.x86_64".<br class="">Then:<br class="">1. I renamed the /opt/rt4 directory and re-run "make-install" so I can<br class="">get back all the default file permissions of rt4 directory, as Todd<br class="">suggested.<br class="">2. re-run "make initialize-database" with no errors.<br class="">3. Copied the "mod_fcgid" section from "<a href="http://bestpractical.com" class="">bestpractical.com</a>" to my<br class="">"httpd.conf" and restarted "httpd".<br class="">4. Made the changes described in "Running RT at rt rather than /" section.<br class="">5. Restarted "httpd" and tried to access the RT login page<br class="">(<a href="https://jimmy.ad.biosci.ac.uk/rt4:8000" class="">https://jimmy.ad.biosci.ac.uk/rt4:8000</a>) but I get:<br class="">--------------------------------<br class=""> Internal Server Error<br class=""> The server encountered an internal error or misconfiguration and was<br class="">unable to complete your request.<br class=""> Please contact the server administrator at root@localhost to inform<br class="">them of the time this error occurred, and the actions you performed<br class=""> just before this error.<br class=""> More information about this error may be available in the server error log.<br class="">--------------------------------<br class="">6. I had a look at the "error.log" file and I can see the following:<br class="">---------------------------------------------------------------------------------<br class="">RT couldn't load RT config file /opt/rt4/etc/RT_Config.pm as:<br class=""> user: apache<br class=""> group: apache<br class="">The file is owned by user root and group www.<br class="">This usually means that the user/group your webserver is running<br class="">as cannot read the file. Be careful not to make the permissions<br class="">on this file too liberal, because it contains database passwords.<br class="">You may need to put the webserver user in the appropriate group<br class="">(www) or change permissions be able to run succesfully.<br class="">Can't locate RT_Config.pm in @INC (@INC contains: /opt/rt4/local/etc<br class="">/opt/rt4/etc /opt/rt4/sbin/../local/lib /opt/rt4/sbin/../lib<br class="">/usr/local/lib64/perl5 /usr/local/share/perl5<br class="">/usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl<br class="">/usr/lib64/perl5 /usr/share/perl5 .) at<br class="">/opt/rt4/sbin/../lib/RT/Config.pm line 1238.<br class="">---------------------------------------------------------------------------------<br class="">As the error message says "apache" can not read RT_Config.pm so I<br class="">added "apache" to the "www" group like this:<br class="">usermod -a -G www apache<br class="">7. Restart "httpd" and tried to visit the login page<br class="">(<a href="https://jimmy.ad.biosci.ac.uk/rt4:8000" class="">https://jimmy.ad.biosci.ac.uk/rt4:8000</a>). I get the same Internal<br class="">Server error.<br class="">Below are my full "httpd.conf" and "RT_SiteConfig.pm" files. When you<br class="">have time could you please have a look, I believe I've got the correct<br class="">"ScriptAlias" and "Location" now.<br class="">httpd.conf: <a href="http://pastebin.com/NMtxapR5" class="">http://pastebin.com/NMtxapR5</a><br class="">RT_SiteConfig.pm: <a href="http://pastebin.com/ekQEzdcw" class="">http://pastebin.com/ekQEzdcw</a><br class="">Many thanks<br class="">---------<br class="">RT 4.4 and RTIR Training Sessions <a href="https://bestpractical.com/training" class="">https://bestpractical.com/training</a><br class="">* Washington DC - May 23 & 24, 2016<br class=""></blockquote>---------<br class="">RT 4.4 and RTIR Training Sessions <a href="https://bestpractical.com/training" class="">https://bestpractical.com/training</a><br class="">* Washington DC - May 23 & 24, 2016<br class=""></div></div></blockquote></div><br class=""></body></html>