[rt-users] Problem with RT_SiteConfig changes Showing on Web

Eyler, Sarah [USA] eyler_sarah at bah.com
Wed Jul 3 09:46:00 EDT 2013


Does anyone else have problems with apache not starting/restarting RT so that changes to the RT_SiteConfig.pm file are seen on the Web?  I still cannot find a resolution to this.

thanks

From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Eyler, Sarah [USA]
Sent: Thursday, June 27, 2013 1:06 PM
To: rt-users at lists.bestpractical.com
Subject: [rt-users] Problem with RT_SiteConfig changes Showing on Web

System Information:

OS: RHEL 5.9
RT version 4
Apache 2.2.24
Mod_perl 2.0 (statically linked)

DNS is a little weird.  The server is located in a domain different from the one where users access the web site.  For instance the server's name is host.domainA but is accessed via the web by host.domainB.  The server has a DNS A Record on domainB's DNS server.   The server has an A record and an alias on domainA's DNS server.  My RT_SiteConfig sets the $rtname, $Organization, and $webdomain to the host.domainB name.

<VirtualHost xxxxxxxxxx>
        ErrorLog /opt/rt4/var/log/apache2.error
        TransferLog /opt/rt4/var/log/apache2.access
        LogLevel debug

        AddDefaultCharset UTF-8

        DocumentRoot "/opt/rt4/share/html"
        <Location />
            Order allow,deny
            Allow from all

            SetHandler modperl
            PerlResponseHandler Plack::Handler::Apache2
            PerlSetVar psgi_app /opt/rt4/sbin/rt-server
        </Location>
        <Perl>
            use Plack::Handler::Apache2;
            Plack::Handler::Apache2->preload("/opt/rt4/sbin/rt-server");
        </Perl>
</VirtualHost>

I am new to RT and recently stood up my RT server.  I am still in the initial configuration stage.  When I make changes to the RT_SiteConfig.pm file I then stop/start httpd.  However, the changes never make it to the web until I reboot the server.  Additionally, when the server comes back up from the reboot, httpd has started but RT has not.  I have to start RT by  running the command: "rt-server &".  I thought that RT should stop/start with httpd.  Does anyone know if there is something I need to do so that when I stop/start apache the RT config will effect its changes to the web?  Also, if anyone can tell me if RT is supposed to start/stop with Apache?

I have tried making changes to the way my VH is configured in by using the IP, the name, and *.  My httpd.conf file is configured to use the httpd-vhosts.conf file.  Running httpd -t shows that my vhost file is syntactically correct.

I have googled, searched the wiki, and searched through past rt-users inquiries to no avail.  The only thing I found was that you need to stop/start httpd rather than just restarting it.

Thanks
Sarah



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130703/c8c76095/attachment.htm>


More information about the rt-users mailing list